#E4CF5F#E4CF5F

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

Color values

HEX#E4CF5F
RGBrgb(228, 207, 95)
HSLhsl(51, 71%, 63%)
HSVhsv(51, 58%, 89%)
CMYKcmyk(0%, 9.2%, 58.3%, 10.6%)
CIE-LABlab(82.89, -6.13, 57.16)
CIE-LCHlch(82.89, 57.49, 96.12°)
OKLaboklab(85.04% -0.0205 0.1323)
OKLCHoklch(85.04% 0.134 98.8)
XYZxyz(56.3755, 61.9482, 19.8119)
Luminance0.6195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF5F #5F74E4
analogous
#E48C5F #E4CF5F #B7E45F
triadic
#E4CF5F #5FE4CF #CF5FE4
tetradic
#E4CF5F #5FE48C #5F74E4 #E45FB7
square
#E4CF5F #5FE48C #5F74E4 #E45FB7
split-complementary
#E4CF5F #5FB7E4 #8C5FE4
monochromatic
#AC951D #DBBF2B #E4CF5F #EDDF93 #F6EEC8

Accessibility & contrast

On white

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

On black

13.39
#E4CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF5F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF5F#FFFFFF#000000##000000
##E4CF5F1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#F4C2B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf5f;
/* rgb */ color: rgb(228, 207, 95);
/* oklch */ color: oklch(85.0% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#efdd90',
    500: '#e4cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf5f;
$custom-light: #efdd90;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf5f",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 50.526,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85038,
    "c": 0.13383,
    "h": 98.8
  },
  "luminance": 0.61946
}

Semantic roles & 50–950 ramp

primary
#E4CF5F
secondary
#3A4CAD
accent
#31D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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