#E0CF5E#E0CF5E

#E0CF5E is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.7% C 0.135 H 100.8°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#E0CF5E
RGBrgb(224, 207, 94)
HSLhsl(52, 68%, 62%)
HSVhsv(52, 58%, 88%)
CMYKcmyk(0%, 7.6%, 58%, 12.2%)
CIE-LABlab(82.53, -7.85, 57.12)
CIE-LCHlch(82.53, 57.65, 97.83°)
OKLaboklab(84.67% -0.0253 0.1321)
OKLCHoklch(84.67% 0.135 100.8)
XYZxyz(55.0757, 61.2833, 19.5153)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CF5E #5E6FE0
analogous
#E08E5E #E0CF5E #B0E05E
triadic
#E0CF5E #5EE0CF #CF5EE0
tetradic
#E0CF5E #5EE08E #5E6FE0 #E05EB0
square
#E0CF5E #5EE08E #5E6FE0 #E05EB0
split-complementary
#E0CF5E #5EB0E0 #8E5EE0
monochromatic
#A49320 #D6C02B #E0CF5E #EADE91 #F4EEC5

Accessibility & contrast

On white

1.58
#E0CF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#E0CF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CF5E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CF5E#FFFFFF#000000##000000
##E0CF5E1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C952
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#F0C2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e0cf5e;
/* rgb */ color: rgb(224, 207, 94);
/* oklch */ color: oklch(84.7% 0.135 100.8);
Tailwind
colors: {
  custom: {
    50: '#ecdd8f',
    500: '#e0cf5e',
    950: '#000000',
  },
}
SCSS
$custom: #e0cf5e;
$custom-light: #ecdd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cf5e",
  "rgb": {
    "r": 224,
    "g": 207,
    "b": 94
  },
  "hsl": {
    "h": 52.154,
    "s": 67.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84671,
    "c": 0.13453,
    "h": 100.8
  },
  "luminance": 0.61281
}

Semantic roles & 50–950 ramp

primary
#E0CF5E
secondary
#3B4AA7
accent
#2ED016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E0CF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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