#E2C960#E2C960

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

Color values

HEX#E2C960
RGBrgb(226, 201, 96)
HSLhsl(48, 69%, 63%)
HSVhsv(48, 58%, 89%)
CMYKcmyk(0%, 11.1%, 57.5%, 11.4%)
CIE-LABlab(81.18, -3.82, 54.72)
CIE-LCHlch(81.18, 54.85, 93.99°)
OKLaboklab(83.65% -0.0136 0.1272)
OKLCHoklch(83.65% 0.128 96.1)
XYZxyz(54.3642, 58.7890, 19.5479)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C960 #6079E2
analogous
#E28860 #E2C960 #BAE260
triadic
#E2C960 #60E2C9 #C960E2
tetradic
#E2C960 #60E288 #6079E2 #E260BA
square
#E2C960 #60E288 #6079E2 #E260BA
split-complementary
#E2C960 #60BAE2 #8860E2
monochromatic
#A98E1F #D9B72C #E2C960 #EBDB94 #F5ECC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C960#FFFFFF#000000##000000
##E2C9601.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)
#DBC556
Deuteranopia (green-blind)
#E1CD65
Tritanopia (blue-blind)
#F2BCB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2c960;
/* rgb */ color: rgb(226, 201, 96);
/* oklch */ color: oklch(83.6% 0.128 96.1);
Tailwind
colors: {
  custom: {
    50: '#eed990',
    500: '#e2c960',
    950: '#000000',
  },
}
SCSS
$custom: #e2c960;
$custom-light: #eed990;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c960",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 48.462,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83645,
    "c": 0.1279,
    "h": 96.1
  },
  "luminance": 0.58787
}

Semantic roles & 50–950 ramp

primary
#E2C960
secondary
#3B51AB
accent
#39D114
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C960

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

Preview Lab → · Contrast checker → · Palette generator →

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