#E4CF54#E4CF54

#E4CF54 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.9% C 0.143 H 99.6°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#E4CF54
RGBrgb(228, 207, 84)
HSLhsl(51, 73%, 61%)
HSVhsv(51, 63%, 89%)
CMYKcmyk(0%, 9.2%, 63.2%, 10.6%)
CIE-LABlab(82.79, -6.86, 61.87)
CIE-LCHlch(82.79, 62.25, 96.33°)
OKLaboklab(84.93% -0.0238 0.1408)
OKLCHoklch(84.93% 0.143 99.6)
XYZxyz(55.9103, 61.7622, 17.3621)
Luminance0.6176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF54 #5469E4
analogous
#E48754 #E4CF54 #B1E454
triadic
#E4CF54 #54E4CF #CF54E4
tetradic
#E4CF54 #54E487 #5469E4 #E454B1
square
#E4CF54 #54E487 #5469E4 #E454B1
split-complementary
#E4CF54 #54B1E4 #8754E4
monochromatic
#A4901A #D9BE22 #E4CF54 #ECDE89 #F5EDBE

Accessibility & contrast

On white

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

On black

13.35
#E4CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF54
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF54#FFFFFF#000000##000000
##E4CF541.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA45
Deuteranopia (green-blind)
#E7D25B
Tritanopia (blue-blind)
#F5C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e4cf54;
/* rgb */ color: rgb(228, 207, 84);
/* oklch */ color: oklch(84.9% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#f0dd89',
    500: '#e4cf54',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf54;
$custom-light: #f0dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf54",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 51.25,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84928,
    "c": 0.14282,
    "h": 99.6
  },
  "luminance": 0.6176
}

Semantic roles & 50–950 ramp

primary
#E4CF54
secondary
#3646A6
accent
#2DD511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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