#EDC852#EDC852

#EDC852 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.3% C 0.140 H 91.6°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#EDC852
RGBrgb(237, 200, 82)
HSLhsl(46, 81%, 63%)
HSVhsv(46, 65%, 93%)
CMYKcmyk(0%, 15.6%, 65.4%, 7.1%)
CIE-LABlab(81.80, 0.36, 61.90)
CIE-LCHlch(81.80, 61.90, 89.66°)
OKLaboklab(84.33% -0.0039 0.1403)
OKLCHoklch(84.33% 0.14 91.6)
XYZxyz(57.1052, 59.9255, 16.5399)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC852 #5277ED
analogous
#ED7A52 #EDC852 #C5ED52
triadic
#EDC852 #52EDC8 #C852ED
tetradic
#EDC852 #52ED7A #5277ED #ED52C5
square
#EDC852 #52ED7A #5277ED #ED52C5
split-complementary
#EDC852 #52C5ED #7A52ED
monochromatic
#B28C13 #E7B61B #EDC852 #F3DA89 #F9EBC1

Accessibility & contrast

On white

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

On black

12.98
#EDC852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC852
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC852#FFFFFF#000000##000000
##EDC8521.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC544
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #edc852;
/* rgb */ color: rgb(237, 200, 82);
/* oklch */ color: oklch(84.3% 0.140 91.6);
Tailwind
colors: {
  custom: {
    50: '#f7d888',
    500: '#edc852',
    950: '#000000',
  },
}
SCSS
$custom: #edc852;
$custom-light: #f7d888;
$custom-dark: #000000;
JSON
{
  "hex": "#edc852",
  "rgb": {
    "r": 237,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 45.677,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84331,
    "c": 0.14039,
    "h": 91.6
  },
  "luminance": 0.59922
}

Semantic roles & 50–950 ramp

primary
#EDC852
secondary
#3150B2
accent
#3BDE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC852

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

Preview Lab → · Contrast checker → · Palette generator →

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