#E4D55F#E4D55F

#E4D55F is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.139 H 102.1°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#E4D55F
RGBrgb(228, 213, 95)
HSLhsl(53, 71%, 63%)
HSVhsv(53, 58%, 89%)
CMYKcmyk(0%, 6.6%, 58.3%, 10.6%)
CIE-LABlab(84.44, -9.17, 58.90)
CIE-LCHlch(84.44, 59.61, 98.85°)
OKLaboklab(86.27% -0.0292 0.136)
OKLCHoklch(86.27% 0.139 102.1)
XYZxyz(57.8568, 64.9109, 20.3057)
Luminance0.6491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D55F #5F6EE4
analogous
#E4925F #E4D55F #B0E45F
triadic
#E4D55F #5FE4D5 #D55FE4
tetradic
#E4D55F #5FE492 #5F6EE4 #E45FB0
square
#E4D55F #5FE492 #5F6EE4 #E45FB0
split-complementary
#E4D55F #5FB0E4 #925FE4
monochromatic
#AC9C1D #DBC72B #E4D55F #EDE393 #F6F0C8

Accessibility & contrast

On white

1.50
#E4D55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#E4D55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D55F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D55F#FFFFFF#000000##000000
##E4D55F1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF52
Deuteranopia (green-blind)
#EBD665
Tritanopia (blue-blind)
#F4C8BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e4d55f;
/* rgb */ color: rgb(228, 213, 95);
/* oklch */ color: oklch(86.3% 0.139 102.1);
Tailwind
colors: {
  custom: {
    50: '#efe190',
    500: '#e4d55f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d55f;
$custom-light: #efe190;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d55f",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 53.233,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86269,
    "c": 0.13909,
    "h": 102.1
  },
  "luminance": 0.64909
}

Semantic roles & 50–950 ramp

primary
#E4D55F
secondary
#3A47AD
accent
#28D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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