#EDC84D#EDC84D

#EDC84D is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.3% C 0.144 H 92.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#EDC84D
RGBrgb(237, 200, 77)
HSLhsl(46, 82%, 62%)
HSVhsv(46, 68%, 93%)
CMYKcmyk(0%, 15.6%, 67.5%, 7.1%)
CIE-LABlab(81.76, 0.08, 63.95)
CIE-LCHlch(81.76, 63.95, 89.92°)
OKLaboklab(84.29% -0.0052 0.1439)
OKLCHoklch(84.29% 0.144 92.1)
XYZxyz(56.9218, 59.8521, 15.5742)
Luminance0.5985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC84D #4D72ED
analogous
#ED784D #EDC84D #C2ED4D
triadic
#EDC84D #4DEDC8 #C84DED
tetradic
#EDC84D #4DED78 #4D72ED #ED4DC2
square
#EDC84D #4DED78 #4D72ED #ED4DC2
split-complementary
#EDC84D #4DC2ED #784DED
monochromatic
#AE8A12 #E6B617 #EDC84D #F3D985 #F8EABC

Accessibility & contrast

On white

1.62
#EDC84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#EDC84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC84D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC84D#FFFFFF#000000##000000
##EDC84D1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53D
Deuteranopia (green-blind)
#E6D053
Tritanopia (blue-blind)
#FFB8AE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #edc84d;
/* rgb */ color: rgb(237, 200, 77);
/* oklch */ color: oklch(84.3% 0.144 92.1);
Tailwind
colors: {
  custom: {
    50: '#f7d885',
    500: '#edc84d',
    950: '#000000',
  },
}
SCSS
$custom: #edc84d;
$custom-light: #f7d885;
$custom-dark: #000000;
JSON
{
  "hex": "#edc84d",
  "rgb": {
    "r": 237,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 46.125,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84287,
    "c": 0.14399,
    "h": 92.1
  },
  "luminance": 0.59849
}

Semantic roles & 50–950 ramp

primary
#EDC84D
secondary
#304DAF
accent
#39DE07
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EDC84D

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

Preview Lab → · Contrast checker → · Palette generator →

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