#EDC952#EDC952

#EDC952 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.5% C 0.141 H 92.2°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#EDC952
RGBrgb(237, 201, 82)
HSLhsl(46, 81%, 63%)
HSVhsv(46, 65%, 93%)
CMYKcmyk(0%, 15.2%, 65.4%, 7.1%)
CIE-LABlab(82.05, -0.15, 62.17)
CIE-LCHlch(82.05, 62.17, 90.14°)
OKLaboklab(84.53% -0.0053 0.1409)
OKLCHoklch(84.53% 0.141 92.2)
XYZxyz(57.3375, 60.3902, 16.6174)
Luminance0.6039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC952 #5276ED
analogous
#ED7C52 #EDC952 #C3ED52
triadic
#EDC952 #52EDC9 #C952ED
tetradic
#EDC952 #52ED7C #5276ED #ED52C3
square
#EDC952 #52ED7C #5276ED #ED52C3
split-complementary
#EDC952 #52C3ED #7C52ED
monochromatic
#B28D13 #E7B81B #EDC952 #F3DA89 #F9ECC1

Accessibility & contrast

On white

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

On black

13.08
#EDC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC952
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC952#FFFFFF#000000##000000
##EDC9521.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC644
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #edc952;
/* rgb */ color: rgb(237, 201, 82);
/* oklch */ color: oklch(84.5% 0.141 92.2);
Tailwind
colors: {
  custom: {
    50: '#f7d988',
    500: '#edc952',
    950: '#000000',
  },
}
SCSS
$custom: #edc952;
$custom-light: #f7d988;
$custom-dark: #000000;
JSON
{
  "hex": "#edc952",
  "rgb": {
    "r": 237,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 46.065,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8453,
    "c": 0.14101,
    "h": 92.2
  },
  "luminance": 0.60387
}

Semantic roles & 50–950 ramp

primary
#EDC952
secondary
#314FB2
accent
#3ADE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC952

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

Preview Lab → · Contrast checker → · Palette generator →

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