#E2C962#E2C962

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

Color values

HEX#E2C962
RGBrgb(226, 201, 98)
HSLhsl(48, 69%, 64%)
HSVhsv(48, 57%, 89%)
CMYKcmyk(0%, 11.1%, 56.6%, 11.4%)
CIE-LABlab(81.20, -3.67, 53.82)
CIE-LCHlch(81.20, 53.94, 93.90°)
OKLaboklab(83.67% -0.0129 0.1255)
OKLCHoklch(83.67% 0.126 95.9)
XYZxyz(54.4574, 58.8263, 20.0390)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C962 #627BE2
analogous
#E28962 #E2C962 #BBE262
triadic
#E2C962 #62E2C9 #C962E2
tetradic
#E2C962 #62E289 #627BE2 #E262BB
square
#E2C962 #62E289 #627BE2 #E262BB
split-complementary
#E2C962 #62BBE2 #8962E2
monochromatic
#AA8F1F #D8B72E #E2C962 #ECDB96 #F5EDC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2C962#FFFFFF#000000##000000
##E2C9621.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)
#DBC558
Deuteranopia (green-blind)
#E1CD67
Tritanopia (blue-blind)
#F2BCB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2c962;
/* rgb */ color: rgb(226, 201, 98);
/* oklch */ color: oklch(83.7% 0.126 95.9);
Tailwind
colors: {
  custom: {
    50: '#eed992',
    500: '#e2c962',
    950: '#000000',
  },
}
SCSS
$custom: #e2c962;
$custom-light: #eed992;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c962",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 48.281,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83668,
    "c": 0.12612,
    "h": 95.9
  },
  "luminance": 0.58824
}

Semantic roles & 50–950 ramp

primary
#E2C962
secondary
#3C52AC
accent
#39D115
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C962

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

Preview Lab → · Contrast checker → · Palette generator →

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