#E5D254#E5D254

#E5D254 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.6% C 0.145 H 100.7°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#E5D254
RGBrgb(229, 210, 84)
HSLhsl(52, 74%, 61%)
HSVhsv(52, 63%, 90%)
CMYKcmyk(0%, 8.3%, 63.3%, 10.2%)
CIE-LABlab(83.65, -7.97, 62.82)
CIE-LCHlch(83.65, 63.32, 97.23°)
OKLaboklab(85.63% -0.027 0.1428)
OKLCHoklch(85.63% 0.145 100.7)
XYZxyz(56.9623, 63.3937, 17.6215)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D254 #5467E5
analogous
#E58A54 #E5D254 #B0E554
triadic
#E5D254 #54E5D2 #D254E5
tetradic
#E5D254 #54E58A #5467E5 #E554B0
square
#E5D254 #54E58A #5467E5 #E554B0
split-complementary
#E5D254 #54B0E5 #8A54E5
monochromatic
#A59319 #DBC221 #E5D254 #EDE089 #F5EEBE

Accessibility & contrast

On white

1.54
#E5D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#E5D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D254
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D254#FFFFFF#000000##000000
##E5D2541.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC45
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#F6C4B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e5d254;
/* rgb */ color: rgb(229, 210, 84);
/* oklch */ color: oklch(85.6% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#f0df8a',
    500: '#e5d254',
    950: '#000000',
  },
}
SCSS
$custom: #e5d254;
$custom-light: #f0df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d254",
  "rgb": {
    "r": 229,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 52.138,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85632,
    "c": 0.14535,
    "h": 100.7
  },
  "luminance": 0.63391
}

Semantic roles & 50–950 ramp

primary
#E5D254
secondary
#3645A8
accent
#2AD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D254

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

Preview Lab → · Contrast checker → · Palette generator →

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