#E4CF45#E4CF45

#E4CF45 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.8% C 0.153 H 100.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E4CF45
RGBrgb(228, 207, 69)
HSLhsl(52, 75%, 58%)
HSVhsv(52, 70%, 89%)
CMYKcmyk(0%, 9.2%, 69.7%, 10.6%)
CIE-LABlab(82.67, -7.70, 67.78)
CIE-LCHlch(82.67, 68.21, 96.48°)
OKLaboklab(84.8% -0.0278 0.1509)
OKLCHoklch(84.8% 0.153 100.4)
XYZxyz(55.3844, 61.5518, 14.5925)
Luminance0.6155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF45 #455AE4
analogous
#E47F45 #E4CF45 #AAE445
triadic
#E4CF45 #45E4CF #CF45E4
tetradic
#E4CF45 #45E47F #455AE4 #E445AA
square
#E4CF45 #45E47F #455AE4 #E445AA
split-complementary
#E4CF45 #45AAE4 #7F45E4
monochromatic
#988716 #CEB71E #E4CF45 #ECDD7A #F4EBB0

Accessibility & contrast

On white

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

On black

13.31
#E4CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF45
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF45#FFFFFF#000000##000000
##E4CF451.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C930
Deuteranopia (green-blind)
#E8D14E
Tritanopia (blue-blind)
#F5C0B3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf45;
/* rgb */ color: rgb(228, 207, 69);
/* oklch */ color: oklch(84.8% 0.153 100.4);
Tailwind
colors: {
  custom: {
    50: '#f0dd81',
    500: '#e4cf45',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf45;
$custom-light: #f0dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf45",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 52.075,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84803,
    "c": 0.15347,
    "h": 100.4
  },
  "luminance": 0.61549
}

Semantic roles & 50–950 ramp

primary
#E4CF45
secondary
#313F9C
accent
#4FF137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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