#E4CF59#E4CF59

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

Color values

HEX#E4CF59
RGBrgb(228, 207, 89)
HSLhsl(51, 72%, 62%)
HSVhsv(51, 61%, 89%)
CMYKcmyk(0%, 9.2%, 61%, 10.6%)
CIE-LABlab(82.83, -6.54, 59.76)
CIE-LCHlch(82.83, 60.12, 96.25°)
OKLaboklab(84.98% -0.0223 0.1371)
OKLCHoklch(84.98% 0.139 99.3)
XYZxyz(56.1132, 61.8433, 18.4305)
Luminance0.6184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF59 #596EE4
analogous
#E48959 #E4CF59 #B4E459
triadic
#E4CF59 #59E4CF #CF59E4
tetradic
#E4CF59 #59E489 #596EE4 #E459B4
square
#E4CF59 #59E489 #596EE4 #E459B4
split-complementary
#E4CF59 #59B4E4 #8959E4
monochromatic
#A7921B #DBC024 #E4CF59 #EDDE8E #F5EDC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CF59#FFFFFF#000000##000000
##E4CF591.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)
#E1CA4C
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#F4C1B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf59;
/* rgb */ color: rgb(228, 207, 89);
/* oklch */ color: oklch(85.0% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#f0dd8c',
    500: '#e4cf59',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf59;
$custom-light: #f0dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf59",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 89
  },
  "hsl": {
    "h": 50.935,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84976,
    "c": 0.13886,
    "h": 99.3
  },
  "luminance": 0.61841
}

Semantic roles & 50–950 ramp

primary
#E4CF59
secondary
#3849A9
accent
#2FD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CF59

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

Preview Lab → · Contrast checker → · Palette generator →

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