Skip to content
PantoneTools
yellow
Open Color

Yellow 2

yellow-2 · #FFEC99

HEX

#FFEC99

RGB

rgb(255, 236, 153)

CMYK

cmyk(0%, 7%, 40%, 0%)

HSL

hsl(49, 100%, 80%)

LAB

lab(93.3, -4.8, 42.5)

What is Yellow 2?

Yellow 2 is the yellow-2 reference in the Open Color. Its sRGB value is #FFEC99 (rgb 255, 236, 153). It sits in the yellow family. Open Color, an open-source color palette by Heeyeun designed for UI work. 13 hues across 10 shades (0 to 9) tuned for screen legibility and accessibility. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Yellow 2 as a background.

Black text on this color

Sample text · 17.71 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.19 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Yellow 2

An 11-step tonal scale derived from Yellow 2 (#FFEC99). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FFFDF7

50

#FFFDF7

#FFFDF7

Copied #FFFCEF

100

#FFFCEF

#FFFCEF

Copied #FFF9DE

200

#FFF9DE

#FFF9DE

Copied #FFF6CC

300

#FFF6CC

#FFF6CC

Copied #FFF1B3

400

#FFF1B3

#FFF1B3

Copied #FFEC99

500

#FFEC99

#FFEC99

Copied #D9C982

600

#D9C982

#D9C982

Copied #A69963

700

#A69963

#A69963

Copied #736A45

800

#736A45

#736A45

Copied #403B26

900

#403B26

#403B26

Copied #1F1C12

950

#1F1C12

#1F1C12

Lighter tints (mixed with white)

Copied #FFEFAE

15%

#FFEFAE

Copied #FFF2BF

30%

#FFF2BF

Copied #FFF5CF

45%

#FFF5CF

Copied #FFF8DE

60%

#FFF8DE

Copied #FFFAEB

75%

#FFFAEB

Darker shades (mixed with black)

Copied #EDDC8E

15%

#EDDC8E

Copied #DAC982

30%

#DAC982

Copied #C4B574

45%

#C4B574

Copied #AA9D64

60%

#AA9D64

Copied #897E50

75%

#897E50

Color harmonies for Yellow 2

Classic color-theory harmonies derived from rotating the hue of Yellow 2. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #FFEC99

#FFEC99

#FFEC99

Copied #99ACFF

#99ACFF

#99ACFF

Triadic

Three colors 120° apart

Copied #FFEC99

#FFEC99

#FFEC99

Copied #99FFEC

#99FFEC

#99FFEC

Copied #EC99FF

#EC99FF

#EC99FF

Analogous

Two neighbors ±30° on the wheel

Copied #FFB999

#FFB999

#FFB999

Copied #FFEC99

#FFEC99

#FFEC99

Copied #DFFF99

#DFFF99

#DFFF99

Split-complementary

Base + two colors flanking its complement

Copied #FFEC99

#FFEC99

#FFEC99

Copied #99DFFF

#99DFFF

#99DFFF

Copied #B999FF

#B999FF

#B999FF

Tetradic

Two complementary pairs

Copied #FFEC99

#FFEC99

#FFEC99

Copied #ACFF99

#ACFF99

#ACFF99

Copied #99ACFF

#99ACFF

#99ACFF

Copied #EC99FF

#EC99FF

#EC99FF

Square

Four colors evenly spaced 90° apart

Copied #FFEC99

#FFEC99

#FFEC99

Copied #99FFB9

#99FFB9

#99FFB9

Copied #99ACFF

#99ACFF

#99ACFF

Copied #FF99DF

#FF99DF

#FF99DF

Yellow 2 in every color space

Full conversion of Yellow 2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#FFEC99

RGB

rgb(255, 236, 153)

CMYK

cmyk(0%, 7%, 40%, 0%)

HSL

hsl(49, 100%, 80%)

HSV

hsv(49, 40%, 100%)

HWB

hwb(49 60% 0%)

CIE Lab

lab(93.3 -4.8 42.5)

OKLCH

oklch(94.0% 0.105 96.8)

XYZ (D65)

xyz(76.99, 83.55, 42.20)

Copy-ready code for Yellow 2

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #FFEC99;
background-color: #FFEC99;

CSS variable

:root {
  --color-yellow-2: #FFEC99;
}

Tailwind config

// tailwind.config.js
colors: {
  'yellow-2': '#FFEC99',
}

Sass

$color-yellow-2: #FFEC99;

Swift UIColor

UIColor(red: 1.000, green: 0.925, blue: 0.600, alpha: 1.0)

Android XML

<color name="yellow-2">#FFEC99</color>

Closest match in every color system

The nearest Yellow 2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in Open Color

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #E6D690

RAL 1015

#E6D690

Light ivory

Copied #E1CC4F

RAL 1014

#E1CC4F

Ivory

Copied #F5D033

RAL 1017

#F5D033

Saffron yellow

Copied #F3DA0B

RAL 1021

#F3DA0B

Rape yellow

Copied #F8F32B

RAL 1018

#F8F32B

Zinc yellow

Copied #FAD201

RAL 1023

#FAD201

Traffic yellow

FAQ about Yellow 2

What is the HEX code for Yellow 2?

Yellow 2 (yellow-2) has the HEX code #FFEC99. In RGB it is rgb(255, 236, 153), and in CMYK it is cmyk(0%, 7%, 40%, 0%).

What is the OKLCH value of Yellow 2?

Yellow 2 converts to oklch(0.940 0.105 96.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Yellow 2 accessible for body text?

Used as a background, Yellow 2 has a contrast ratio of 17.71:1 with black text and 1.19:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Yellow 2?

The closest Pantone reference to Yellow 2 by ΔE2000 perceptual distance is Pantone 100 C (#F4ED7C). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Yellow 2?

The closest RAL Classic reference to Yellow 2 by ΔE2000 distance is RAL 1015 (Light ivory, #E6D690). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Yellow 2?

The complementary color (180° opposite on the HSL color wheel) of Yellow 2 is #99ACFF. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Open Color (Yeun)

Open Color, an open-source color palette by Heeyeun designed for UI designers and developers. 13 hues across 10 shades. Use as a designer-friendly palette alternative to Tailwind. Values are intentionally chosen for UI legibility and accessibility.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

open-color
design-token
ui
yellow

Open Color values are tuned for digital UI. For print, treat as a starting point and proof against the substrate.

Open Color · Yellow 2 — #FFEC99 | PantoneTools