#E4CF5B#E4CF5B

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

Color values

HEX#E4CF5B
RGBrgb(228, 207, 91)
HSLhsl(51, 72%, 63%)
HSVhsv(51, 60%, 89%)
CMYKcmyk(0%, 9.2%, 60.1%, 10.6%)
CIE-LABlab(82.85, -6.41, 58.90)
CIE-LCHlch(82.85, 59.25, 96.21°)
OKLaboklab(85% -0.0217 0.1355)
OKLCHoklch(85% 0.137 99.1)
XYZxyz(56.1983, 61.8774, 18.8788)
Luminance0.6188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF5B #5B70E4
analogous
#E48B5B #E4CF5B #B4E45B
triadic
#E4CF5B #5BE4CF #CF5BE4
tetradic
#E4CF5B #5BE48B #5B70E4 #E45BB4
square
#E4CF5B #5BE48B #5B70E4 #E45BB4
split-complementary
#E4CF5B #5BB4E4 #8B5BE4
monochromatic
#A9931C #DBC026 #E4CF5B #EDDE90 #F5EEC4

Accessibility & contrast

On white

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

On black

13.38
#E4CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF5B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF5B#FFFFFF#000000##000000
##E4CF5B1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cf5b;
/* rgb */ color: rgb(228, 207, 91);
/* oklch */ color: oklch(85.0% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#efdd8e',
    500: '#e4cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf5b;
$custom-light: #efdd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf5b",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 50.803,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84996,
    "c": 0.13721,
    "h": 99.1
  },
  "luminance": 0.61875
}

Semantic roles & 50–950 ramp

primary
#E4CF5B
secondary
#394AAB
accent
#2FD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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