#EDC942#EDC942

#EDC942 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.4% C 0.152 H 93.6°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#EDC942
RGBrgb(237, 201, 66)
HSLhsl(47, 83%, 59%)
HSVhsv(47, 72%, 93%)
CMYKcmyk(0%, 15.2%, 72.2%, 7.1%)
CIE-LABlab(81.93, -0.98, 68.44)
CIE-LCHlch(81.93, 68.45, 90.82°)
OKLaboklab(84.4% -0.0095 0.1515)
OKLCHoklch(84.4% 0.152 93.6)
XYZxyz(56.7981, 60.1744, 13.7764)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC942 #4266ED
analogous
#ED7342 #EDC942 #BCED42
triadic
#EDC942 #42EDC9 #C942ED
tetradic
#EDC942 #42ED73 #4266ED #ED42BC
square
#EDC942 #42ED73 #4266ED #ED42BC
split-complementary
#EDC942 #42BCED #7342ED
monochromatic
#A58510 #DDB315 #EDC942 #F2D97A #F8E9B2

Accessibility & contrast

On white

1.61
#EDC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#EDC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC942
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC942#FFFFFF#000000##000000
##EDC9421.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC62D
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#FFB9AE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #edc942;
/* rgb */ color: rgb(237, 201, 66);
/* oklch */ color: oklch(84.4% 0.152 93.6);
Tailwind
colors: {
  custom: {
    50: '#f7d97f',
    500: '#edc942',
    950: '#000000',
  },
}
SCSS
$custom: #edc942;
$custom-light: #f7d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#edc942",
  "rgb": {
    "r": 237,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 47.368,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84401,
    "c": 0.15178,
    "h": 93.6
  },
  "luminance": 0.60171
}

Semantic roles & 50–950 ramp

primary
#EDC942
secondary
#2D46A7
accent
#59F92F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EDC942

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

Preview Lab → · Contrast checker → · Palette generator →

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