#EDD157#EDD157

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

Color values

HEX#EDD157
RGBrgb(237, 209, 87)
HSLhsl(49, 81%, 64%)
HSVhsv(49, 63%, 93%)
CMYKcmyk(0%, 11.8%, 63.3%, 7.1%)
CIE-LABlab(84.12, -3.95, 62.26)
CIE-LCHlch(84.12, 62.39, 93.63°)
OKLaboklab(86.18% -0.0157 0.1419)
OKLCHoklch(86.18% 0.143 96.3)
XYZxyz(59.4485, 64.2965, 18.2941)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD157 #5773ED
analogous
#ED8657 #EDD157 #BEED57
triadic
#EDD157 #57EDD1 #D157ED
tetradic
#EDD157 #57ED86 #5773ED #ED57BE
square
#EDD157 #57ED86 #5773ED #ED57BE
split-complementary
#EDD157 #57BEED #8657ED
monochromatic
#B69814 #E7C220 #EDD157 #F3E08E #F9EFC6

Accessibility & contrast

On white

1.52
#EDD157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDD157#FFFFFF#000000##000000
##EDD1571.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edd157;
/* rgb */ color: rgb(237, 209, 87);
/* oklch */ color: oklch(86.2% 0.143 96.3);
Tailwind
colors: {
  custom: {
    50: '#f6de8b',
    500: '#edd157',
    950: '#000000',
  },
}
SCSS
$custom: #edd157;
$custom-light: #f6de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#edd157",
  "rgb": {
    "r": 237,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 48.8,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8618,
    "c": 0.14271,
    "h": 96.3
  },
  "luminance": 0.64294
}

Semantic roles & 50–950 ramp

primary
#EDD157
secondary
#334BB6
accent
#30DD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EDD157

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

Preview Lab → · Contrast checker → · Palette generator →

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