#EDD96B#EDD96B

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

Color values

HEX#EDD96B
RGBrgb(237, 217, 107)
HSLhsl(51, 78%, 67%)
HSVhsv(51, 55%, 93%)
CMYKcmyk(0%, 8.4%, 54.9%, 7.1%)
CIE-LABlab(86.35, -6.63, 55.86)
CIE-LCHlch(86.35, 56.25, 96.77°)
OKLaboklab(88.01% -0.0211 0.1306)
OKLCHoklch(88.01% 0.132 99.2)
XYZxyz(62.3939, 68.6943, 23.8798)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD96B #6B7FED
analogous
#ED986B #EDD96B #C0ED6B
triadic
#EDD96B #6BEDD9 #D96BED
tetradic
#EDD96B #6BED98 #6B7FED #ED6BC0
square
#EDD96B #6BED98 #6B7FED #ED6BC0
split-complementary
#EDD96B #6BC0ED #986BED
monochromatic
#C6AB18 #E6CB34 #EDD96B #F4E7A2 #FAF5D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDD96B#FFFFFF#000000##000000
##EDD96B1.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)
#EBD460
Deuteranopia (green-blind)
#F0DB70
Tritanopia (blue-blind)
#FDCCC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd96b;
/* rgb */ color: rgb(237, 217, 107);
/* oklch */ color: oklch(88.0% 0.132 99.2);
Tailwind
colors: {
  custom: {
    50: '#f5e498',
    500: '#edd96b',
    950: '#000000',
  },
}
SCSS
$custom: #edd96b;
$custom-light: #f5e498;
$custom-dark: #000000;
JSON
{
  "hex": "#edd96b",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 50.769,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88009,
    "c": 0.13232,
    "h": 99.2
  },
  "luminance": 0.68692
}

Semantic roles & 50–950 ramp

primary
#EDD96B
secondary
#394EC3
accent
#2BDB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD96B

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

Preview Lab → · Contrast checker → · Palette generator →

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