#E4CF5A#E4CF5A

#E4CF5A is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.138 H 99.2°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#E4CF5A
RGBrgb(228, 207, 90)
HSLhsl(51, 72%, 62%)
HSVhsv(51, 61%, 89%)
CMYKcmyk(0%, 9.2%, 60.5%, 10.6%)
CIE-LABlab(82.84, -6.48, 59.33)
CIE-LCHlch(82.84, 59.69, 96.23°)
OKLaboklab(84.99% -0.022 0.1363)
OKLCHoklch(84.99% 0.138 99.2)
XYZxyz(56.1554, 61.8602, 18.6531)
Luminance0.6186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF5A #5A6FE4
analogous
#E48A5A #E4CF5A #B4E45A
triadic
#E4CF5A #5AE4CF #CF5AE4
tetradic
#E4CF5A #5AE48A #5A6FE4 #E45AB4
square
#E4CF5A #5AE48A #5A6FE4 #E45AB4
split-complementary
#E4CF5A #5AB4E4 #8A5AE4
monochromatic
#A8931C #DBC025 #E4CF5A #EDDE8F #F5EEC3

Accessibility & contrast

On white

1.57
#E4CF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#E4CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF5A
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF5A#FFFFFF#000000##000000
##E4CF5A1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4D
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#F4C1B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf5a;
/* rgb */ color: rgb(228, 207, 90);
/* oklch */ color: oklch(85.0% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#f0dd8d',
    500: '#e4cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf5a;
$custom-light: #f0dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf5a",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 50.87,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84986,
    "c": 0.13804,
    "h": 99.2
  },
  "luminance": 0.61858
}

Semantic roles & 50–950 ramp

primary
#E4CF5A
secondary
#384AAA
accent
#2FD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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