#E0CF51#E0CF51

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

Color values

HEX#E0CF51
RGBrgb(224, 207, 81)
HSLhsl(53, 70%, 60%)
HSVhsv(53, 64%, 88%)
CMYKcmyk(0%, 7.6%, 63.8%, 12.2%)
CIE-LABlab(82.42, -8.71, 62.63)
CIE-LCHlch(82.42, 63.23, 97.92°)
OKLaboklab(84.54% -0.0292 0.1421)
OKLCHoklch(84.54% 0.145 101.6)
XYZxyz(54.5407, 61.0693, 16.6976)
Luminance0.6107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CF51 #5162E0
analogous
#E08751 #E0CF51 #AAE051
triadic
#E0CF51 #51E0CF #CF51E0
tetradic
#E0CF51 #51E087 #5162E0 #E051AA
square
#E0CF51 #51E087 #5162E0 #E051AA
split-complementary
#E0CF51 #51AAE0 #8751E0
monochromatic
#9B8C1C #CFBB25 #E0CF51 #E9DD85 #F3ECB9

Accessibility & contrast

On white

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

On black

13.21
#E0CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CF51
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CF51#FFFFFF#000000##000000
##E0CF511.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e0cf51;
/* rgb */ color: rgb(224, 207, 81);
/* oklch */ color: oklch(84.5% 0.145 101.6);
Tailwind
colors: {
  custom: {
    50: '#eddd87',
    500: '#e0cf51',
    950: '#000000',
  },
}
SCSS
$custom: #e0cf51;
$custom-light: #eddd87;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cf51",
  "rgb": {
    "r": 224,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 52.867,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84543,
    "c": 0.14508,
    "h": 101.6
  },
  "luminance": 0.61067
}

Semantic roles & 50–950 ramp

primary
#E0CF51
secondary
#37439F
accent
#50ED3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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