#E7E366#E7E366

#E7E366 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.5% C 0.146 H 107.3°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#E7E366
RGBrgb(231, 227, 102)
HSLhsl(58, 73%, 65%)
HSVhsv(58, 56%, 91%)
CMYKcmyk(0%, 1.7%, 55.8%, 9.4%)
CIE-LABlab(88.39, -14.43, 60.32)
CIE-LCHlch(88.39, 62.02, 103.46°)
OKLaboklab(89.5% -0.0436 0.1398)
OKLCHoklch(89.5% 0.146 107.3)
XYZxyz(62.8242, 72.8882, 23.3273)
Luminance0.7289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E366 #666AE7
analogous
#E7A366 #E7E366 #AAE766
triadic
#E7E366 #66E7E3 #E366E7
tetradic
#E7E366 #66E7A3 #666AE7 #E766AA
square
#E7E366 #66E7A3 #666AE7 #E766AA
split-complementary
#E7E366 #66AAE7 #A366E7
monochromatic
#B6B11D #DFD931 #E7E366 #EFED9B #F8F6D0

Accessibility & contrast

On white

1.35
#E7E366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#E7E366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E366
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E366#FFFFFF#000000##000000
##E7E3661.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB59
Deuteranopia (green-blind)
#F6E06D
Tritanopia (blue-blind)
#F6D6C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e366;
/* rgb */ color: rgb(231, 227, 102);
/* oklch */ color: oklch(89.5% 0.146 107.3);
Tailwind
colors: {
  custom: {
    50: '#f1eb96',
    500: '#e7e366',
    950: '#000000',
  },
}
SCSS
$custom: #e7e366;
$custom-light: #f1eb96;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e366",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 102
  },
  "hsl": {
    "h": 58.14,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89496,
    "c": 0.14642,
    "h": 107.3
  },
  "luminance": 0.72886
}

Semantic roles & 50–950 ramp

primary
#E7E366
secondary
#3B3FB6
accent
#17D511
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E366

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

Preview Lab → · Contrast checker → · Palette generator →

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