#EDCA42#EDCA42

#EDCA42 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.6% C 0.152 H 94.1°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#EDCA42
RGBrgb(237, 202, 66)
HSLhsl(48, 83%, 59%)
HSVhsv(48, 72%, 93%)
CMYKcmyk(0%, 14.8%, 72.2%, 7.1%)
CIE-LABlab(82.19, -1.49, 68.69)
CIE-LCHlch(82.19, 68.71, 91.24°)
OKLaboklab(84.6% -0.011 0.152)
OKLCHoklch(84.6% 0.152 94.1)
XYZxyz(57.0320, 60.6421, 13.8543)
Luminance0.6064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCA42 #4265ED
analogous
#ED7442 #EDCA42 #BBED42
triadic
#EDCA42 #42EDCA #CA42ED
tetradic
#EDCA42 #42ED74 #4265ED #ED42BB
square
#EDCA42 #42ED74 #4265ED #ED42BB
split-complementary
#EDCA42 #42BBED #7442ED
monochromatic
#A58610 #DDB415 #EDCA42 #F2DA7A #F8E9B2

Accessibility & contrast

On white

1.60
#EDCA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#EDCA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCA42
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCA42#FFFFFF#000000##000000
##EDCA421.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62C
Deuteranopia (green-blind)
#E8D14A
Tritanopia (blue-blind)
#FFBAAF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #edca42;
/* rgb */ color: rgb(237, 202, 66);
/* oklch */ color: oklch(84.6% 0.152 94.1);
Tailwind
colors: {
  custom: {
    50: '#f7d97f',
    500: '#edca42',
    950: '#000000',
  },
}
SCSS
$custom: #edca42;
$custom-light: #f7d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#edca42",
  "rgb": {
    "r": 237,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 47.719,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84601,
    "c": 0.1524,
    "h": 94.1
  },
  "luminance": 0.60639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EDCA42

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

Preview Lab → · Contrast checker → · Palette generator →

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