#E5CF54#E5CF54

#E5CF54 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.143 H 99.1°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#E5CF54
RGBrgb(229, 207, 84)
HSLhsl(51, 74%, 61%)
HSVhsv(51, 63%, 90%)
CMYKcmyk(0%, 9.6%, 63.3%, 10.2%)
CIE-LABlab(82.87, -6.45, 61.99)
CIE-LCHlch(82.87, 62.32, 95.94°)
OKLaboklab(85.02% -0.0227 0.1411)
OKLCHoklch(85.02% 0.143 99.1)
XYZxyz(56.2285, 61.9263, 17.3770)
Luminance0.6192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF54 #546AE5
analogous
#E58754 #E5CF54 #B2E554
triadic
#E5CF54 #54E5CF #CF54E5
tetradic
#E5CF54 #54E587 #546AE5 #E554B2
square
#E5CF54 #54E587 #546AE5 #E554B2
split-complementary
#E5CF54 #54B2E5 #8754E5
monochromatic
#A59019 #DBBE21 #E5CF54 #EDDE89 #F5EDBE

Accessibility & contrast

On white

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

On black

13.38
#E5CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF54
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF54#FFFFFF#000000##000000
##E5CF541.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5cf54;
/* rgb */ color: rgb(229, 207, 84);
/* oklch */ color: oklch(85.0% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#f0dd89',
    500: '#e5cf54',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf54;
$custom-light: #f0dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf54",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 50.897,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85018,
    "c": 0.14286,
    "h": 99.1
  },
  "luminance": 0.61924
}

Semantic roles & 50–950 ramp

primary
#E5CF54
secondary
#3647A8
accent
#2ED610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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