#E4C258#E4C258

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

Color values

HEX#E4C258
RGBrgb(228, 194, 88)
HSLhsl(45, 72%, 62%)
HSVhsv(45, 61%, 89%)
CMYKcmyk(0%, 14.9%, 61.4%, 10.6%)
CIE-LABlab(79.49, 0.07, 56.52)
CIE-LCHlch(79.49, 56.52, 89.92°)
OKLaboklab(82.33% -0.0034 0.13)
OKLCHoklch(82.33% 0.13 91.5)
XYZxyz(53.0506, 55.7850, 17.2039)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C258 #587AE4
analogous
#E47C58 #E4C258 #C0E458
triadic
#E4C258 #58E4C2 #C258E4
tetradic
#E4C258 #58E47C #587AE4 #E458C0
square
#E4C258 #58E47C #587AE4 #E458C0
split-complementary
#E4C258 #58C0E4 #7C58E4
monochromatic
#A7851B #DBAF23 #E4C258 #EDD58D #F5E8C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C258#FFFFFF#000000##000000
##E4C2581.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)
#D5BF4D
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#F5B4AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e4c258;
/* rgb */ color: rgb(228, 194, 88);
/* oklch */ color: oklch(82.3% 0.130 91.5);
Tailwind
colors: {
  custom: {
    50: '#f0d48b',
    500: '#e4c258',
    950: '#000000',
  },
}
SCSS
$custom: #e4c258;
$custom-light: #f0d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c258",
  "rgb": {
    "r": 228,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 45.429,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82332,
    "c": 0.13003,
    "h": 91.5
  },
  "luminance": 0.55782
}

Semantic roles & 50–950 ramp

primary
#E4C258
secondary
#3753A9
accent
#41D411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C258

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

Preview Lab → · Contrast checker → · Palette generator →

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