#E7E960#E7E960

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

Color values

HEX#E7E960
RGBrgb(231, 233, 96)
HSLhsl(61, 76%, 65%)
HSVhsv(61, 59%, 91%)
CMYKcmyk(0.9%, 0%, 58.8%, 8.6%)
CIE-LABlab(89.91, -17.80, 64.59)
CIE-LCHlch(89.91, 67.00, 105.41°)
OKLaboklab(90.69% -0.0538 0.1482)
OKLCHoklch(90.69% 0.158 110)
XYZxyz(64.2071, 76.1129, 22.3731)
Luminance0.7611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E960 #6260E9
analogous
#E9A760 #E7E960 #A3E960
triadic
#E7E960 #60E7E9 #E960E7
tetradic
#E7E960 #60E9A7 #6260E9 #E960A3
square
#E7E960 #60E9A7 #6260E9 #E960A3
split-complementary
#E7E960 #60A3E9 #A760E9
monochromatic
#B3B519 #DFE22A #E7E960 #EFF096 #F7F8CC

Accessibility & contrast

On white

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

On black

16.22
#E7E960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E960
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E960#FFFFFF#000000##000000
##E7E9601.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7e960;
/* rgb */ color: rgb(231, 233, 96);
/* oklch */ color: oklch(90.7% 0.158 110.0);
Tailwind
colors: {
  custom: {
    50: '#f1ef92',
    500: '#e7e960',
    950: '#000000',
  },
}
SCSS
$custom: #e7e960;
$custom-light: #f1ef92;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e960",
  "rgb": {
    "r": 231,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 60.876,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90688,
    "c": 0.15761,
    "h": 110
  },
  "luminance": 0.76111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7E960

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

Preview Lab → · Contrast checker → · Palette generator →

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