#E7E166#E7E166

#E7E166 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.1% C 0.144 H 106.4°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#E7E166
RGBrgb(231, 225, 102)
HSLhsl(57, 73%, 65%)
HSVhsv(57, 56%, 91%)
CMYKcmyk(0%, 2.6%, 55.8%, 9.4%)
CIE-LABlab(87.87, -13.44, 59.73)
CIE-LCHlch(87.87, 61.22, 102.68°)
OKLaboklab(89.08% -0.0408 0.1385)
OKLCHoklch(89.08% 0.144 106.4)
XYZxyz(62.2804, 71.8006, 23.1460)
Luminance0.7180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E166 #666CE7
analogous
#E7A066 #E7E166 #ADE766
triadic
#E7E166 #66E7E1 #E166E7
tetradic
#E7E166 #66E7A0 #666CE7 #E766AD
square
#E7E166 #66E7A0 #666CE7 #E766AD
split-complementary
#E7E166 #66ADE7 #A066E7
monochromatic
#B6AF1D #DFD731 #E7E166 #EFEB9B #F8F6D0

Accessibility & contrast

On white

1.37
#E7E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#E7E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E166
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E166#FFFFFF#000000##000000
##E7E1661.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D959
Deuteranopia (green-blind)
#F5DF6D
Tritanopia (blue-blind)
#F6D4C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7e166;
/* rgb */ color: rgb(231, 225, 102);
/* oklch */ color: oklch(89.1% 0.144 106.4);
Tailwind
colors: {
  custom: {
    50: '#f1ea96',
    500: '#e7e166',
    950: '#000000',
  },
}
SCSS
$custom: #e7e166;
$custom-light: #f1ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e166",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 57.209,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8908,
    "c": 0.1444,
    "h": 106.4
  },
  "luminance": 0.71799
}

Semantic roles & 50–950 ramp

primary
#E7E166
secondary
#3B41B6
accent
#1AD511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E166

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

Preview Lab → · Contrast checker → · Palette generator →

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