#E4CF49#E4CF49

#E4CF49 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.8% C 0.151 H 100.2°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#E4CF49
RGBrgb(228, 207, 73)
HSLhsl(52, 74%, 59%)
HSVhsv(52, 68%, 89%)
CMYKcmyk(0%, 9.2%, 68%, 10.6%)
CIE-LABlab(82.70, -7.49, 66.27)
CIE-LCHlch(82.70, 66.69, 96.45°)
OKLaboklab(84.83% -0.0268 0.1484)
OKLCHoklch(84.83% 0.151 100.2)
XYZxyz(55.5128, 61.6032, 15.2686)
Luminance0.6160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF49 #495EE4
analogous
#E48249 #E4CF49 #ACE449
triadic
#E4CF49 #49E4CF #CF49E4
tetradic
#E4CF49 #49E482 #495EE4 #E449AC
square
#E4CF49 #49E482 #495EE4 #E449AC
split-complementary
#E4CF49 #49ACE4 #8249E4
monochromatic
#9C8A17 #D1B91F #E4CF49 #ECDD7E #F4EBB4

Accessibility & contrast

On white

1.58
#E4CF49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#E4CF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF49
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF49#FFFFFF#000000##000000
##E4CF491.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C936
Deuteranopia (green-blind)
#E8D151
Tritanopia (blue-blind)
#F5C0B4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf49;
/* rgb */ color: rgb(228, 207, 73);
/* oklch */ color: oklch(84.8% 0.151 100.2);
Tailwind
colors: {
  custom: {
    50: '#f0dd83',
    500: '#e4cf49',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf49;
$custom-light: #f0dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf49",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 51.871,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84833,
    "c": 0.15083,
    "h": 100.2
  },
  "luminance": 0.61601
}

Semantic roles & 50–950 ramp

primary
#E4CF49
secondary
#32419F
accent
#50F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4CF49

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

Preview Lab → · Contrast checker → · Palette generator →

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