#E7E962#E7E962

#E7E962 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.7% C 0.156 H 109.9°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#E7E962
RGBrgb(231, 233, 98)
HSLhsl(61, 75%, 65%)
HSVhsv(61, 58%, 91%)
CMYKcmyk(0.9%, 0%, 57.9%, 8.6%)
CIE-LABlab(89.93, -17.66, 63.76)
CIE-LCHlch(89.93, 66.16, 105.48°)
OKLaboklab(90.71% -0.0532 0.1467)
OKLCHoklch(90.71% 0.156 109.9)
XYZxyz(64.3003, 76.1502, 22.8642)
Luminance0.7615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E962 #6462E9
analogous
#E9A862 #E7E962 #A3E962
triadic
#E7E962 #62E7E9 #E962E7
tetradic
#E7E962 #62E9A8 #6462E9 #E962A3
square
#E7E962 #62E9A8 #6462E9 #E962A3
split-complementary
#E7E962 #62A3E9 #A862E9
monochromatic
#B5B71A #DFE12C #E7E962 #EFF198 #F7F8CD

Accessibility & contrast

On white

1.29
#E7E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#E7E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E962
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E962#FFFFFF#000000##000000
##E7E9621.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7e962;
/* rgb */ color: rgb(231, 233, 98);
/* oklch */ color: oklch(90.7% 0.156 109.9);
Tailwind
colors: {
  custom: {
    50: '#f1ef94',
    500: '#e7e962',
    950: '#000000',
  },
}
SCSS
$custom: #e7e962;
$custom-light: #f1ef94;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e962",
  "rgb": {
    "r": 231,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 60.889,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90708,
    "c": 0.156,
    "h": 109.9
  },
  "luminance": 0.76149
}

Semantic roles & 50–950 ramp

primary
#E7E962
secondary
#3A38B7
accent
#0ED811
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7E962

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

Preview Lab → · Contrast checker → · Palette generator →

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