#E4C960#E4C960

#E4C960 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.128 H 95.1°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#E4C960
RGBrgb(228, 201, 96)
HSLhsl(48, 71%, 64%)
HSVhsv(48, 58%, 89%)
CMYKcmyk(0%, 11.8%, 57.9%, 10.6%)
CIE-LABlab(81.35, -2.99, 54.97)
CIE-LCHlch(81.35, 55.05, 93.11°)
OKLaboklab(83.83% -0.0113 0.1277)
OKLCHoklch(83.83% 0.128 95.1)
XYZxyz(54.9951, 59.1144, 19.5775)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C960 #607BE4
analogous
#E48760 #E4C960 #BDE460
triadic
#E4C960 #60E4C9 #C960E4
tetradic
#E4C960 #60E487 #607BE4 #E460BD
square
#E4C960 #60E487 #607BE4 #E460BD
split-complementary
#E4C960 #60BDE4 #8760E4
monochromatic
#AC8F1D #DBB72C #E4C960 #EDDB94 #F6EDC9

Accessibility & contrast

On white

1.64
#E4C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#E4C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C960
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C960#FFFFFF#000000##000000
##E4C9601.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC555
Deuteranopia (green-blind)
#E2CE65
Tritanopia (blue-blind)
#F4BCB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e4c960;
/* rgb */ color: rgb(228, 201, 96);
/* oklch */ color: oklch(83.8% 0.128 95.1);
Tailwind
colors: {
  custom: {
    50: '#efd990',
    500: '#e4c960',
    950: '#000000',
  },
}
SCSS
$custom: #e4c960;
$custom-light: #efd990;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c960",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 47.727,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83829,
    "c": 0.12818,
    "h": 95.1
  },
  "luminance": 0.59112
}

Semantic roles & 50–950 ramp

primary
#E4C960
secondary
#3A52AE
accent
#3AD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C960

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

Preview Lab → · Contrast checker → · Palette generator →

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