#E6C962#E6C962

#E6C962 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 84.0% C 0.127 H 93.8°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#E6C962
RGBrgb(230, 201, 98)
HSLhsl(47, 73%, 64%)
HSVhsv(47, 57%, 90%)
CMYKcmyk(0%, 12.6%, 57.4%, 9.8%)
CIE-LABlab(81.56, -2.01, 54.32)
CIE-LCHlch(81.56, 54.36, 92.12°)
OKLaboklab(84.04% -0.0084 0.1265)
OKLCHoklch(84.04% 0.127 93.8)
XYZxyz(55.7267, 59.4808, 20.0985)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C962 #627FE6
analogous
#E68762 #E6C962 #C1E662
triadic
#E6C962 #62E6C9 #C962E6
tetradic
#E6C962 #62E687 #627FE6 #E662C1
square
#E6C962 #62E687 #627FE6 #E662C1
split-complementary
#E6C962 #62C1E6 #8762E6
monochromatic
#B1911C #DEB72D #E6C962 #EEDB97 #F7EDCC

Accessibility & contrast

On white

1.63
#E6C962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#E6C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C962
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C962#FFFFFF#000000##000000
##E6C9621.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC658
Deuteranopia (green-blind)
#E3CE66
Tritanopia (blue-blind)
#F7BBB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e6c962;
/* rgb */ color: rgb(230, 201, 98);
/* oklch */ color: oklch(84.0% 0.127 93.8);
Tailwind
colors: {
  custom: {
    50: '#f1d992',
    500: '#e6c962',
    950: '#000000',
  },
}
SCSS
$custom: #e6c962;
$custom-light: #f1d992;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c962",
  "rgb": {
    "r": 230,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 46.818,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84037,
    "c": 0.12675,
    "h": 93.8
  },
  "luminance": 0.59478
}

Semantic roles & 50–950 ramp

primary
#E6C962
secondary
#3A54B2
accent
#3CD511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E6C962

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

Preview Lab → · Contrast checker → · Palette generator →

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