#EDD96F#EDD96F

#EDD96F is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.1% C 0.129 H 98.8°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#EDD96F
RGBrgb(237, 217, 111)
HSLhsl(50, 78%, 68%)
HSVhsv(50, 53%, 93%)
CMYKcmyk(0%, 8.4%, 53.2%, 7.1%)
CIE-LABlab(86.40, -6.31, 54.05)
CIE-LCHlch(86.40, 54.42, 96.66°)
OKLaboklab(88.06% -0.0197 0.1271)
OKLCHoklch(88.06% 0.129 98.8)
XYZxyz(62.6093, 68.7804, 25.0138)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD96F #6F83ED
analogous
#ED9A6F #EDD96F #C2ED6F
triadic
#EDD96F #6FEDD9 #D96FED
tetradic
#EDD96F #6FED9A #6F83ED #ED6FC2
square
#EDD96F #6FED9A #6F83ED #ED6FC2
split-complementary
#EDD96F #6FC2ED #9A6FED
monochromatic
#C9AD19 #E6CB39 #EDD96F #F4E7A5 #FBF6DC

Accessibility & contrast

On white

1.42
#EDD96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#EDD96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD96F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD96F#FFFFFF#000000##000000
##EDD96F1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD465
Deuteranopia (green-blind)
#F0DB74
Tritanopia (blue-blind)
#FDCCC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd96f;
/* rgb */ color: rgb(237, 217, 111);
/* oklch */ color: oklch(88.1% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#f5e49b',
    500: '#edd96f',
    950: '#000000',
  },
}
SCSS
$custom: #edd96f;
$custom-light: #f5e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#edd96f",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 50.476,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88056,
    "c": 0.12863,
    "h": 98.8
  },
  "luminance": 0.68778
}

Semantic roles & 50–950 ramp

primary
#EDD96F
secondary
#3B51C5
accent
#2CDA0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD96F

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

Preview Lab → · Contrast checker → · Palette generator →

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