#EED02F#EED02F

#EED02F is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.166 H 97.7°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#EED02F
RGBrgb(238, 208, 47)
HSLhsl(51, 85%, 56%)
HSVhsv(51, 80%, 93%)
CMYKcmyk(0%, 12.6%, 80.3%, 6.7%)
CIE-LABlab(83.70, -4.85, 76.35)
CIE-LCHlch(83.70, 76.51, 93.63°)
OKLaboklab(85.79% -0.0223 0.1647)
OKLCHoklch(85.79% 0.166 97.7)
XYZxyz(58.3320, 63.4973, 11.8725)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED02F #2F4DEE
analogous
#EE702F #EED02F #ACEE2F
triadic
#EED02F #2FEED0 #D02FEE
tetradic
#EED02F #2FEE70 #2F4DEE #EE2FAC
square
#EED02F #2FEE70 #2F4DEE #EE2FAC
split-complementary
#EED02F #2FACEE #702FEE
monochromatic
#96810C #CFB111 #EED02F #F3DD68 #F7EAA0

Accessibility & contrast

On white

1.53
#EED02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#EED02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED02F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED02F#FFFFFF#000000##000000
##EED02F1.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#EDD53C
Tritanopia (blue-blind)
#FFC0B3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #eed02f;
/* rgb */ color: rgb(238, 208, 47);
/* oklch */ color: oklch(85.8% 0.166 97.7);
Tailwind
colors: {
  custom: {
    50: '#f8dd76',
    500: '#eed02f',
    950: '#000000',
  },
}
SCSS
$custom: #eed02f;
$custom-light: #f8dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#eed02f",
  "rgb": {
    "r": 238,
    "g": 208,
    "b": 47
  },
  "hsl": {
    "h": 50.576,
    "s": 84.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85791,
    "c": 0.1662,
    "h": 97.7
  },
  "luminance": 0.63494
}

Semantic roles & 50–950 ramp

primary
#EED02F
secondary
#27399A
accent
#4DFB2D
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#18150A
muted
#86847D

Preview Lab

Preview with #EED02F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#EED02F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva