#E4C458#E4C458

#E4C458 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.7% C 0.131 H 92.8°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#E4C458
RGBrgb(228, 196, 88)
HSLhsl(46, 72%, 62%)
HSVhsv(46, 61%, 89%)
CMYKcmyk(0%, 14%, 61.4%, 10.6%)
CIE-LABlab(80.00, -0.96, 57.08)
CIE-LCHlch(80.00, 57.09, 90.97°)
OKLaboklab(82.73% -0.0064 0.1312)
OKLCHoklch(82.73% 0.131 92.8)
XYZxyz(53.4987, 56.6812, 17.3533)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C458 #5878E4
analogous
#E47E58 #E4C458 #BEE458
triadic
#E4C458 #58E4C4 #C458E4
tetradic
#E4C458 #58E47E #5878E4 #E458BE
square
#E4C458 #58E47E #5878E4 #E458BE
split-complementary
#E4C458 #58BEE4 #7E58E4
monochromatic
#A7871B #DBB123 #E4C458 #EDD78D #F5E9C1

Accessibility & contrast

On white

1.70
#E4C458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#E4C458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C458
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C458#FFFFFF#000000##000000
##E4C4581.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#F5B6AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e4c458;
/* rgb */ color: rgb(228, 196, 88);
/* oklch */ color: oklch(82.7% 0.131 92.8);
Tailwind
colors: {
  custom: {
    50: '#f0d58b',
    500: '#e4c458',
    950: '#000000',
  },
}
SCSS
$custom: #e4c458;
$custom-light: #f0d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c458",
  "rgb": {
    "r": 228,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 46.286,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82734,
    "c": 0.13136,
    "h": 92.8
  },
  "luminance": 0.56678
}

Semantic roles & 50–950 ramp

primary
#E4C458
secondary
#3751A9
accent
#3ED411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C458

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

Preview Lab → · Contrast checker → · Palette generator →

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