#EDD84F#EDD84F

#EDD84F is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.5% C 0.154 H 100.5°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#EDD84F
RGBrgb(237, 216, 79)
HSLhsl(52, 81%, 62%)
HSVhsv(52, 67%, 93%)
CMYKcmyk(0%, 8.9%, 66.7%, 7.1%)
CIE-LABlab(85.85, -7.96, 67.38)
CIE-LCHlch(85.85, 67.84, 96.74°)
OKLaboklab(87.53% -0.028 0.1515)
OKLCHoklch(87.53% 0.154 100.5)
XYZxyz(60.8948, 67.6835, 17.2523)
Luminance0.6768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD84F #4F64ED
analogous
#ED894F #EDD84F #B3ED4F
triadic
#EDD84F #4FEDD8 #D84FED
tetradic
#EDD84F #4FED89 #4F64ED #ED4FB3
square
#EDD84F #4FED89 #4F64ED #ED4FB3
split-complementary
#EDD84F #4FB3ED #894FED
monochromatic
#B09B12 #E7CC18 #EDD84F #F3E487 #F8F1BE

Accessibility & contrast

On white

1.44
#EDD84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#EDD84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD84F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD84F#FFFFFF#000000##000000
##EDD84F1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23D
Deuteranopia (green-blind)
#F2DA57
Tritanopia (blue-blind)
#FFC9BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #edd84f;
/* rgb */ color: rgb(237, 216, 79);
/* oklch */ color: oklch(87.5% 0.154 100.5);
Tailwind
colors: {
  custom: {
    50: '#f6e387',
    500: '#edd84f',
    950: '#000000',
  },
}
SCSS
$custom: #edd84f;
$custom-light: #f6e387;
$custom-dark: #000000;
JSON
{
  "hex": "#edd84f",
  "rgb": {
    "r": 237,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 52.025,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87529,
    "c": 0.15402,
    "h": 100.5
  },
  "luminance": 0.67681
}

Semantic roles & 50–950 ramp

primary
#EDD84F
secondary
#3041B0
accent
#24DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EDD84F

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

Preview Lab → · Contrast checker → · Palette generator →

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