#EDD96C#EDD96C

#EDD96C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.0% C 0.131 H 99.1°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#EDD96C
RGBrgb(237, 217, 108)
HSLhsl(51, 78%, 68%)
HSVhsv(51, 54%, 93%)
CMYKcmyk(0%, 8.4%, 54.4%, 7.1%)
CIE-LABlab(86.36, -6.55, 55.41)
CIE-LCHlch(86.36, 55.80, 96.74°)
OKLaboklab(88.02% -0.0207 0.1298)
OKLCHoklch(88.02% 0.131 99.1)
XYZxyz(62.4469, 68.7154, 24.1585)
Luminance0.6871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD96C #6C80ED
analogous
#ED996C #EDD96C #C0ED6C
triadic
#EDD96C #6CEDD9 #D96CED
tetradic
#EDD96C #6CED99 #6C80ED #ED6CC0
square
#EDD96C #6CED99 #6C80ED #ED6CC0
split-complementary
#EDD96C #6CC0ED #996CED
monochromatic
#C6AB18 #E6CB35 #EDD96C #F4E7A3 #FAF5D9

Accessibility & contrast

On white

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

On black

14.74
#EDD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD96C
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD96C#FFFFFF#000000##000000
##EDD96C1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD462
Deuteranopia (green-blind)
#F0DB71
Tritanopia (blue-blind)
#FDCCC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd96c;
/* rgb */ color: rgb(237, 217, 108);
/* oklch */ color: oklch(88.0% 0.131 99.1);
Tailwind
colors: {
  custom: {
    50: '#f5e499',
    500: '#edd96c',
    950: '#000000',
  },
}
SCSS
$custom: #edd96c;
$custom-light: #f5e499;
$custom-dark: #000000;
JSON
{
  "hex": "#edd96c",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 50.698,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8802,
    "c": 0.13141,
    "h": 99.1
  },
  "luminance": 0.68713
}

Semantic roles & 50–950 ramp

primary
#EDD96C
secondary
#394FC4
accent
#2BDA0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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