#EDCC5B#EDCC5B

#EDCC5B is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.2% C 0.136 H 93.0°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#EDCC5B
RGBrgb(237, 204, 91)
HSLhsl(46, 80%, 64%)
HSVhsv(46, 62%, 93%)
CMYKcmyk(0%, 13.9%, 61.6%, 7.1%)
CIE-LABlab(82.89, -1.14, 59.17)
CIE-LCHlch(82.89, 59.18, 91.10°)
OKLaboklab(85.22% -0.0071 0.1358)
OKLCHoklch(85.22% 0.136 93)
XYZxyz(58.4089, 61.9486, 18.7762)
Luminance0.6195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCC5B #5B7CED
analogous
#ED835B #EDCC5B #C5ED5B
triadic
#EDCC5B #5BEDCC #CC5BED
tetradic
#EDCC5B #5BED83 #5B7CED #ED5BC5
square
#EDCC5B #5BED83 #5B7CED #ED5BC5
split-complementary
#EDCC5B #5BC5ED #835BED
monochromatic
#B99414 #E7BB24 #EDCC5B #F3DD92 #F9EEC9

Accessibility & contrast

On white

1.57
#EDCC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#EDCC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCC5B
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCC5B#FFFFFF#000000##000000
##EDCC5B1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94F
Deuteranopia (green-blind)
#E8D360
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #edcc5b;
/* rgb */ color: rgb(237, 204, 91);
/* oklch */ color: oklch(85.2% 0.136 93.0);
Tailwind
colors: {
  custom: {
    50: '#f6db8d',
    500: '#edcc5b',
    950: '#000000',
  },
}
SCSS
$custom: #edcc5b;
$custom-light: #f6db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#edcc5b",
  "rgb": {
    "r": 237,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 46.438,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85216,
    "c": 0.13602,
    "h": 93
  },
  "luminance": 0.61946
}

Semantic roles & 50–950 ramp

primary
#EDCC5B
secondary
#3452B8
accent
#39DD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDCC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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