#E0CF52#E0CF52

#E0CF52 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.6% C 0.144 H 101.6°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E0CF52
RGBrgb(224, 207, 82)
HSLhsl(53, 70%, 60%)
HSVhsv(53, 63%, 88%)
CMYKcmyk(0%, 7.6%, 63.4%, 12.2%)
CIE-LABlab(82.42, -8.65, 62.22)
CIE-LCHlch(82.42, 62.82, 97.92°)
OKLaboklab(84.55% -0.0289 0.1414)
OKLCHoklch(84.55% 0.144 101.6)
XYZxyz(54.5785, 61.0844, 16.8966)
Luminance0.6108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CF52 #5263E0
analogous
#E08852 #E0CF52 #AAE052
triadic
#E0CF52 #52E0CF #CF52E0
tetradic
#E0CF52 #52E088 #5263E0 #E052AA
square
#E0CF52 #52E088 #5263E0 #E052AA
split-complementary
#E0CF52 #52AAE0 #8852E0
monochromatic
#9C8C1C #D0BB25 #E0CF52 #E9DD86 #F3ECBA

Accessibility & contrast

On white

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

On black

13.22
#E0CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CF52
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CF52#FFFFFF#000000##000000
##E0CF521.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#F0C1B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e0cf52;
/* rgb */ color: rgb(224, 207, 82);
/* oklch */ color: oklch(84.6% 0.144 101.6);
Tailwind
colors: {
  custom: {
    50: '#eddd88',
    500: '#e0cf52',
    950: '#000000',
  },
}
SCSS
$custom: #e0cf52;
$custom-light: #eddd88;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cf52",
  "rgb": {
    "r": 224,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 52.817,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.84552,
    "c": 0.14432,
    "h": 101.6
  },
  "luminance": 0.61082
}

Semantic roles & 50–950 ramp

primary
#E0CF52
secondary
#37439F
accent
#51EC3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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