#EDC842#EDC842

#EDC842 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.2% C 0.151 H 93.0°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#EDC842
RGBrgb(237, 200, 66)
HSLhsl(47, 83%, 59%)
HSVhsv(47, 72%, 93%)
CMYKcmyk(0%, 15.6%, 72.2%, 7.1%)
CIE-LABlab(81.68, -0.46, 68.20)
CIE-LCHlch(81.68, 68.20, 90.39°)
OKLaboklab(84.2% -0.008 0.151)
OKLCHoklch(84.2% 0.151 93)
XYZxyz(56.5658, 59.7097, 13.6989)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC842 #4267ED
analogous
#ED7342 #EDC842 #BCED42
triadic
#EDC842 #42EDC8 #C842ED
tetradic
#EDC842 #42ED73 #4267ED #ED42BC
square
#EDC842 #42ED73 #4267ED #ED42BC
split-complementary
#EDC842 #42BCED #7342ED
monochromatic
#A58510 #DDB215 #EDC842 #F2D87A #F8E9B2

Accessibility & contrast

On white

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

On black

12.94
#EDC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC842
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC842#FFFFFF#000000##000000
##EDC8421.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52D
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#FFB8AD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #edc842;
/* rgb */ color: rgb(237, 200, 66);
/* oklch */ color: oklch(84.2% 0.151 93.0);
Tailwind
colors: {
  custom: {
    50: '#f7d87f',
    500: '#edc842',
    950: '#000000',
  },
}
SCSS
$custom: #edc842;
$custom-light: #f7d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#edc842",
  "rgb": {
    "r": 237,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 47.018,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84201,
    "c": 0.15116,
    "h": 93
  },
  "luminance": 0.59706
}

Semantic roles & 50–950 ramp

primary
#EDC842
secondary
#2D47A7
accent
#5BF92F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EDC842

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

Preview Lab → · Contrast checker → · Palette generator →

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