#EDCA52#EDCA52

#EDCA52 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.7% C 0.142 H 92.8°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#EDCA52
RGBrgb(237, 202, 82)
HSLhsl(46, 81%, 63%)
HSVhsv(46, 65%, 93%)
CMYKcmyk(0%, 14.8%, 65.4%, 7.1%)
CIE-LABlab(82.30, -0.67, 62.44)
CIE-LCHlch(82.30, 62.44, 90.61°)
OKLaboklab(84.73% -0.0068 0.1415)
OKLCHoklch(84.73% 0.142 92.8)
XYZxyz(57.5714, 60.8579, 16.6953)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCA52 #5275ED
analogous
#ED7D52 #EDCA52 #C2ED52
triadic
#EDCA52 #52EDCA #CA52ED
tetradic
#EDCA52 #52ED7D #5275ED #ED52C2
square
#EDCA52 #52ED7D #5275ED #ED52C2
split-complementary
#EDCA52 #52C2ED #7D52ED
monochromatic
#B28E13 #E7B91B #EDCA52 #F3DB89 #F9ECC1

Accessibility & contrast

On white

1.59
#EDCA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#EDCA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCA52
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCA52#FFFFFF#000000##000000
##EDCA521.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC744
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #edca52;
/* rgb */ color: rgb(237, 202, 82);
/* oklch */ color: oklch(84.7% 0.142 92.8);
Tailwind
colors: {
  custom: {
    50: '#f7d988',
    500: '#edca52',
    950: '#000000',
  },
}
SCSS
$custom: #edca52;
$custom-light: #f7d988;
$custom-dark: #000000;
JSON
{
  "hex": "#edca52",
  "rgb": {
    "r": 237,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 46.452,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8473,
    "c": 0.14164,
    "h": 92.8
  },
  "luminance": 0.60855
}

Semantic roles & 50–950 ramp

primary
#EDCA52
secondary
#314EB2
accent
#38DE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDCA52

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

Preview Lab → · Contrast checker → · Palette generator →

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