#E6D962#E6D962

#E6D962 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.140 H 103.1°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#E6D962
RGBrgb(230, 217, 98)
HSLhsl(54, 73%, 64%)
HSVhsv(54, 57%, 90%)
CMYKcmyk(0%, 5.7%, 57.4%, 9.8%)
CIE-LABlab(85.67, -10.15, 59.00)
CIE-LCHlch(85.67, 59.87, 99.76°)
OKLaboklab(87.3% -0.0318 0.1365)
OKLCHoklch(87.3% 0.14 103.1)
XYZxyz(59.6526, 67.3327, 21.4072)
Luminance0.6733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D962 #626FE6
analogous
#E69762 #E6D962 #B1E662
triadic
#E6D962 #62E6D9 #D962E6
tetradic
#E6D962 #62E697 #626FE6 #E662B1
square
#E6D962 #62E697 #626FE6 #E662B1
split-complementary
#E6D962 #62B1E6 #9762E6
monochromatic
#B1A31C #DECC2D #E6D962 #EEE697 #F7F3CC

Accessibility & contrast

On white

1.45
#E6D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#E6D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D962
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D962#FFFFFF#000000##000000
##E6D9621.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD356
Deuteranopia (green-blind)
#EFD968
Tritanopia (blue-blind)
#F6CCBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e6d962;
/* rgb */ color: rgb(230, 217, 98);
/* oklch */ color: oklch(87.3% 0.140 103.1);
Tailwind
colors: {
  custom: {
    50: '#f1e493',
    500: '#e6d962',
    950: '#000000',
  },
}
SCSS
$custom: #e6d962;
$custom-light: #f1e493;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d962",
  "rgb": {
    "r": 230,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 54.091,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87298,
    "c": 0.14016,
    "h": 103.1
  },
  "luminance": 0.67331
}

Semantic roles & 50–950 ramp

primary
#E6D962
secondary
#3A46B2
accent
#24D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E6D962

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

Preview Lab → · Contrast checker → · Palette generator →

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