#E4CF5D#E4CF5D

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

Color values

HEX#E4CF5D
RGBrgb(228, 207, 93)
HSLhsl(51, 71%, 63%)
HSVhsv(51, 59%, 89%)
CMYKcmyk(0%, 9.2%, 59.2%, 10.6%)
CIE-LABlab(82.87, -6.27, 58.04)
CIE-LCHlch(82.87, 58.37, 96.17°)
OKLaboklab(85.02% -0.0211 0.1339)
OKLCHoklch(85.02% 0.136 99)
XYZxyz(56.2857, 61.9123, 19.3393)
Luminance0.6191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF5D #5D72E4
analogous
#E48C5D #E4CF5D #B5E45D
triadic
#E4CF5D #5DE4CF #CF5DE4
tetradic
#E4CF5D #5DE48C #5D72E4 #E45DB5
square
#E4CF5D #5DE48C #5D72E4 #E45DB5
split-complementary
#E4CF5D #5DB5E4 #8C5DE4
monochromatic
#AA941C #DBBF29 #E4CF5D #EDDF91 #F5EEC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CF5D#FFFFFF#000000##000000
##E4CF5D1.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)
#E1CA51
Deuteranopia (green-blind)
#E7D263
Tritanopia (blue-blind)
#F4C1B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf5d;
/* rgb */ color: rgb(228, 207, 93);
/* oklch */ color: oklch(85.0% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#efdd8f',
    500: '#e4cf5d',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf5d;
$custom-light: #efdd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf5d",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 93
  },
  "hsl": {
    "h": 50.667,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85017,
    "c": 0.13554,
    "h": 99
  },
  "luminance": 0.6191
}

Semantic roles & 50–950 ramp

primary
#E4CF5D
secondary
#394BAC
accent
#30D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4CF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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