#E4C94D#E4C94D

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

Color values

HEX#E4C94D
RGBrgb(228, 201, 77)
HSLhsl(49, 74%, 60%)
HSVhsv(49, 66%, 89%)
CMYKcmyk(0%, 11.8%, 66.2%, 10.6%)
CIE-LABlab(81.18, -4.21, 63.10)
CIE-LCHlch(81.18, 63.24, 93.82°)
OKLaboklab(83.64% -0.017 0.1424)
OKLCHoklch(83.64% 0.143 96.8)
XYZxyz(54.2236, 58.8058, 15.5143)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C94D #4D68E4
analogous
#E47E4D #E4C94D #B3E44D
triadic
#E4C94D #4DE4C9 #C94DE4
tetradic
#E4C94D #4DE47E #4D68E4 #E44DB3
square
#E4C94D #4DE47E #4D68E4 #E44DB3
split-complementary
#E4C94D #4DB3E4 #7E4DE4
monochromatic
#9F8718 #D4B420 #E4C94D #ECD982 #F4E9B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4C94D#FFFFFF#000000##000000
##E4C94D1.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)
#DCC53D
Deuteranopia (green-blind)
#E3CD54
Tritanopia (blue-blind)
#F5BAAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c94d;
/* rgb */ color: rgb(228, 201, 77);
/* oklch */ color: oklch(83.6% 0.143 96.8);
Tailwind
colors: {
  custom: {
    50: '#f0d985',
    500: '#e4c94d',
    950: '#000000',
  },
}
SCSS
$custom: #e4c94d;
$custom-light: #f0d985;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c94d",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 49.272,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8364,
    "c": 0.14339,
    "h": 96.8
  },
  "luminance": 0.58803
}

Semantic roles & 50–950 ramp

primary
#E4C94D
secondary
#3447A2
accent
#59F037
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E4C94D

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

Preview Lab → · Contrast checker → · Palette generator →

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