#E4CF62#E4CF62

#E4CF62 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.1% C 0.131 H 98.5°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#E4CF62
RGBrgb(228, 207, 98)
HSLhsl(50, 71%, 64%)
HSVhsv(50, 57%, 89%)
CMYKcmyk(0%, 9.2%, 57%, 10.6%)
CIE-LABlab(82.92, -5.91, 55.83)
CIE-LCHlch(82.92, 56.15, 96.05°)
OKLaboklab(85.07% -0.0195 0.1298)
OKLCHoklch(85.07% 0.131 98.5)
XYZxyz(56.5145, 62.0038, 20.5440)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF62 #6277E4
analogous
#E48E62 #E4CF62 #B8E462
triadic
#E4CF62 #62E4CF #CF62E4
tetradic
#E4CF62 #62E48E #6277E4 #E462B8
square
#E4CF62 #62E48E #6277E4 #E462B8
split-complementary
#E4CF62 #62B8E4 #8E62E4
monochromatic
#AE961E #DBBF2E #E4CF62 #EDDF96 #F6EFCA

Accessibility & contrast

On white

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

On black

13.40
#E4CF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF62
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF62#FFFFFF#000000##000000
##E4CF621.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA57
Deuteranopia (green-blind)
#E6D267
Tritanopia (blue-blind)
#F4C2B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf62;
/* rgb */ color: rgb(228, 207, 98);
/* oklch */ color: oklch(85.1% 0.131 98.5);
Tailwind
colors: {
  custom: {
    50: '#efdd92',
    500: '#e4cf62',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf62;
$custom-light: #efdd92;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf62",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 50.308,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85071,
    "c": 0.13122,
    "h": 98.5
  },
  "luminance": 0.62001
}

Semantic roles & 50–950 ramp

primary
#E4CF62
secondary
#3B4EAF
accent
#32D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4CF62

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

Preview Lab → · Contrast checker → · Palette generator →

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