#E7E96B#E7E96B

#E7E96B is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 90.8% C 0.148 H 109.9°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#E7E96B
RGBrgb(231, 233, 107)
HSLhsl(61, 74%, 67%)
HSVhsv(61, 54%, 91%)
CMYKcmyk(0.9%, 0%, 54.1%, 8.6%)
CIE-LABlab(90.01, -17.00, 59.94)
CIE-LCHlch(90.01, 62.30, 105.83°)
OKLaboklab(90.8% -0.0504 0.1395)
OKLCHoklch(90.8% 0.148 109.9)
XYZxyz(64.7494, 76.3299, 25.2294)
Luminance0.7633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E96B #6D6BE9
analogous
#E9AC6B #E7E96B #A8E96B
triadic
#E7E96B #6BE7E9 #E96BE7
tetradic
#E7E96B #6BE9AC #6D6BE9 #E96BA8
square
#E7E96B #6BE9AC #6D6BE9 #E96BA8
split-complementary
#E7E96B #6BA8E9 #AC6BE9
monochromatic
#BBBD1C #DEE136 #E7E96B #F0F1A0 #F8F9D6

Accessibility & contrast

On white

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

On black

16.27
#E7E96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E96B
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E96B#FFFFFF#000000##000000
##E7E96B1.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05E
Deuteranopia (green-blind)
#FBE472
Tritanopia (blue-blind)
#F5DCCD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e7e96b;
/* rgb */ color: rgb(231, 233, 107);
/* oklch */ color: oklch(90.8% 0.148 109.9);
Tailwind
colors: {
  custom: {
    50: '#f1ef99',
    500: '#e7e96b',
    950: '#000000',
  },
}
SCSS
$custom: #e7e96b;
$custom-light: #f1ef99;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e96b",
  "rgb": {
    "r": 231,
    "g": 233,
    "b": 107
  },
  "hsl": {
    "h": 60.952,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90801,
    "c": 0.14834,
    "h": 109.9
  },
  "luminance": 0.76328
}

Semantic roles & 50–950 ramp

primary
#E7E96B
secondary
#3E3CBC
accent
#0FD612
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E7E96B

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

Preview Lab → · Contrast checker → · Palette generator →

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