#E4C658#E4C658

#E4C658 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.133 H 94.1°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#E4C658
RGBrgb(228, 198, 88)
HSLhsl(47, 72%, 62%)
HSVhsv(47, 61%, 89%)
CMYKcmyk(0%, 13.2%, 61.4%, 10.6%)
CIE-LABlab(80.51, -2.00, 57.65)
CIE-LCHlch(80.51, 57.68, 91.98°)
OKLaboklab(83.14% -0.0094 0.1324)
OKLCHoklch(83.14% 0.133 94.1)
XYZxyz(53.9529, 57.5894, 17.5046)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C658 #5876E4
analogous
#E48058 #E4C658 #BCE458
triadic
#E4C658 #58E4C6 #C658E4
tetradic
#E4C658 #58E480 #5876E4 #E458BC
square
#E4C658 #58E480 #5876E4 #E458BC
split-complementary
#E4C658 #58BCE4 #8058E4
monochromatic
#A7891B #DBB423 #E4C658 #EDD88D #F5EAC1

Accessibility & contrast

On white

1.68
#E4C658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#E4C658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C658
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C658#FFFFFF#000000##000000
##E4C6581.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24C
Deuteranopia (green-blind)
#E0CC5D
Tritanopia (blue-blind)
#F5B8AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c658;
/* rgb */ color: rgb(228, 198, 88);
/* oklch */ color: oklch(83.1% 0.133 94.1);
Tailwind
colors: {
  custom: {
    50: '#f0d78b',
    500: '#e4c658',
    950: '#000000',
  },
}
SCSS
$custom: #e4c658;
$custom-light: #f0d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c658",
  "rgb": {
    "r": 228,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 47.143,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83137,
    "c": 0.13274,
    "h": 94.1
  },
  "luminance": 0.57587
}

Semantic roles & 50–950 ramp

primary
#E4C658
secondary
#3750A9
accent
#3BD411
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E4C658

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

Preview Lab → · Contrast checker → · Palette generator →

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