#E0CF5A#E0CF5A

#E0CF5A is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.138 H 101.1°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E0CF5A
RGBrgb(224, 207, 90)
HSLhsl(52, 68%, 62%)
HSVhsv(52, 60%, 88%)
CMYKcmyk(0%, 7.6%, 59.8%, 12.2%)
CIE-LABlab(82.49, -8.13, 58.86)
CIE-LCHlch(82.49, 59.41, 97.87°)
OKLaboklab(84.63% -0.0265 0.1353)
OKLCHoklch(84.63% 0.138 101.1)
XYZxyz(54.9008, 61.2133, 18.5943)
Luminance0.6121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CF5A #5A6BE0
analogous
#E08C5A #E0CF5A #AEE05A
triadic
#E0CF5A #5AE0CF #CF5AE0
tetradic
#E0CF5A #5AE08C #5A6BE0 #E05AAE
square
#E0CF5A #5AE08C #5A6BE0 #E05AAE
split-complementary
#E0CF5A #5AAEE0 #8C5AE0
monochromatic
#A1911E #D5BF28 #E0CF5A #EADE8E #F3EDC1

Accessibility & contrast

On white

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

On black

13.24
#E0CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CF5A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CF5A#FFFFFF#000000##000000
##E0CF5A1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e0cf5a;
/* rgb */ color: rgb(224, 207, 90);
/* oklch */ color: oklch(84.6% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#eddd8d',
    500: '#e0cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #e0cf5a;
$custom-light: #eddd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cf5a",
  "rgb": {
    "r": 224,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 52.388,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84629,
    "c": 0.13792,
    "h": 101.1
  },
  "luminance": 0.61211
}

Semantic roles & 50–950 ramp

primary
#E0CF5A
secondary
#3A47A4
accent
#2DD015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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