#E4C25A#E4C25A

#E4C25A is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.4% C 0.128 H 91.2°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#E4C25A
RGBrgb(228, 194, 90)
HSLhsl(45, 72%, 62%)
HSVhsv(45, 61%, 89%)
CMYKcmyk(0%, 14.9%, 60.5%, 10.6%)
CIE-LABlab(79.51, 0.21, 55.63)
CIE-LCHlch(79.51, 55.63, 89.79°)
OKLaboklab(82.35% -0.0028 0.1284)
OKLCHoklch(82.35% 0.128 91.2)
XYZxyz(53.1346, 55.8186, 17.6462)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C25A #5A7CE4
analogous
#E47D5A #E4C25A #C1E45A
triadic
#E4C25A #5AE4C2 #C25AE4
tetradic
#E4C25A #5AE47D #5A7CE4 #E45AC1
square
#E4C25A #5AE47D #5A7CE4 #E45AC1
split-complementary
#E4C25A #5AC1E4 #7D5AE4
monochromatic
#A8851C #DBAF25 #E4C25A #EDD58F #F5E9C3

Accessibility & contrast

On white

1.73
#E4C25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#E4C25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C25A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C25A#FFFFFF#000000##000000
##E4C25A1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#DDC95E
Tritanopia (blue-blind)
#F5B4AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c25a;
/* rgb */ color: rgb(228, 194, 90);
/* oklch */ color: oklch(82.4% 0.128 91.2);
Tailwind
colors: {
  custom: {
    50: '#f0d48c',
    500: '#e4c25a',
    950: '#000000',
  },
}
SCSS
$custom: #e4c25a;
$custom-light: #f0d48c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c25a",
  "rgb": {
    "r": 228,
    "g": 194,
    "b": 90
  },
  "hsl": {
    "h": 45.217,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82353,
    "c": 0.12839,
    "h": 91.2
  },
  "luminance": 0.55816
}

Semantic roles & 50–950 ramp

primary
#E4C25A
secondary
#3854AA
accent
#41D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C25A

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

Preview Lab → · Contrast checker → · Palette generator →

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