#E4C94E#E4C94E

#E4C94E is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.6% C 0.143 H 96.7°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#E4C94E
RGBrgb(228, 201, 78)
HSLhsl(49, 74%, 60%)
HSVhsv(49, 66%, 89%)
CMYKcmyk(0%, 11.8%, 65.8%, 10.6%)
CIE-LABlab(81.19, -4.16, 62.69)
CIE-LCHlch(81.19, 62.83, 93.79°)
OKLaboklab(83.65% -0.0168 0.1417)
OKLCHoklch(83.65% 0.143 96.7)
XYZxyz(54.2592, 58.8200, 15.7016)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C94E #4E69E4
analogous
#E47E4E #E4C94E #B4E44E
triadic
#E4C94E #4EE4C9 #C94EE4
tetradic
#E4C94E #4EE47E #4E69E4 #E44EB4
square
#E4C94E #4EE47E #4E69E4 #E44EB4
split-complementary
#E4C94E #4EB4E4 #7E4EE4
monochromatic
#9F8718 #D4B420 #E4C94E #ECD983 #F4E9B8

Accessibility & contrast

On white

1.65
#E4C94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#E4C94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C94E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C94E#FFFFFF#000000##000000
##E4C94E1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53F
Deuteranopia (green-blind)
#E3CD54
Tritanopia (blue-blind)
#F5BBAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c94e;
/* rgb */ color: rgb(228, 201, 78);
/* oklch */ color: oklch(83.6% 0.143 96.7);
Tailwind
colors: {
  custom: {
    50: '#f0d985',
    500: '#e4c94e',
    950: '#000000',
  },
}
SCSS
$custom: #e4c94e;
$custom-light: #f0d985;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c94e",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 49.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.83649,
    "c": 0.14266,
    "h": 96.7
  },
  "luminance": 0.58817
}

Semantic roles & 50–950 ramp

primary
#E4C94E
secondary
#3448A2
accent
#59F038
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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