#EDD158#EDD158

#EDD158 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.2% C 0.142 H 96.2°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#EDD158
RGBrgb(237, 209, 88)
HSLhsl(49, 81%, 64%)
HSVhsv(49, 63%, 93%)
CMYKcmyk(0%, 11.8%, 62.9%, 7.1%)
CIE-LABlab(84.13, -3.89, 61.84)
CIE-LCHlch(84.13, 61.96, 93.60°)
OKLaboklab(86.19% -0.0154 0.1411)
OKLCHoklch(86.19% 0.142 96.2)
XYZxyz(59.4896, 64.3129, 18.5107)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD158 #5874ED
analogous
#ED8658 #EDD158 #BEED58
triadic
#EDD158 #58EDD1 #D158ED
tetradic
#EDD158 #58ED86 #5874ED #ED58BE
square
#EDD158 #58ED86 #5874ED #ED58BE
split-complementary
#EDD158 #58BEED #8658ED
monochromatic
#B79814 #E7C221 #EDD158 #F3E08F #F9EFC6

Accessibility & contrast

On white

1.51
#EDD158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#EDD158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD158
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD158#FFFFFF#000000##000000
##EDD1581.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4A
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #edd158;
/* rgb */ color: rgb(237, 209, 88);
/* oklch */ color: oklch(86.2% 0.142 96.2);
Tailwind
colors: {
  custom: {
    50: '#f6de8c',
    500: '#edd158',
    950: '#000000',
  },
}
SCSS
$custom: #edd158;
$custom-light: #f6de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#edd158",
  "rgb": {
    "r": 237,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 48.725,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86189,
    "c": 0.14194,
    "h": 96.2
  },
  "luminance": 0.6431
}

Semantic roles & 50–950 ramp

primary
#EDD158
secondary
#334CB6
accent
#31DD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EDD158

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

Preview Lab → · Contrast checker → · Palette generator →

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