#E6E962#E6E962

#E6E962 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.6% C 0.156 H 110.3°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#E6E962
RGBrgb(230, 233, 98)
HSLhsl(61, 75%, 65%)
HSVhsv(61, 58%, 91%)
CMYKcmyk(1.3%, 0%, 57.9%, 8.6%)
CIE-LABlab(89.85, -18.06, 63.65)
CIE-LCHlch(89.85, 66.17, 105.84°)
OKLaboklab(90.63% -0.0543 0.1464)
OKLCHoklch(90.63% 0.156 110.3)
XYZxyz(63.9784, 75.9842, 22.8491)
Luminance0.7598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6E962 #6562E9
analogous
#E9A862 #E6E962 #A3E962
triadic
#E6E962 #62E6E9 #E962E6
tetradic
#E6E962 #62E9A8 #6562E9 #E962A3
square
#E6E962 #62E9A8 #6562E9 #E962A3
split-complementary
#E6E962 #62A3E9 #A862E9
monochromatic
#B3B71A #DDE12C #E6E962 #EFF198 #F7F8CD

Accessibility & contrast

On white

1.30
#E6E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#E6E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6E962
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6E962#FFFFFF#000000##000000
##E6E9621.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE053
Deuteranopia (green-blind)
#FBE46A
Tritanopia (blue-blind)
#F5DCCC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e6e962;
/* rgb */ color: rgb(230, 233, 98);
/* oklch */ color: oklch(90.6% 0.156 110.3);
Tailwind
colors: {
  custom: {
    50: '#f1ef94',
    500: '#e6e962',
    950: '#000000',
  },
}
SCSS
$custom: #e6e962;
$custom-light: #f1ef94;
$custom-dark: #000000;
JSON
{
  "hex": "#e6e962",
  "rgb": {
    "r": 230,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 61.333,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90627,
    "c": 0.15617,
    "h": 110.3
  },
  "luminance": 0.75983
}

Semantic roles & 50–950 ramp

primary
#E6E962
secondary
#3B38B7
accent
#0ED812
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E6E962

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

Preview Lab → · Contrast checker → · Palette generator →

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