#E5E166#E5E166

#E5E166 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 88.9% C 0.145 H 107.3°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#E5E166
RGBrgb(229, 225, 102)
HSLhsl(58, 71%, 65%)
HSVhsv(58, 55%, 90%)
CMYKcmyk(0%, 1.7%, 55.5%, 10.2%)
CIE-LABlab(87.71, -14.25, 59.50)
CIE-LCHlch(87.71, 61.19, 103.47°)
OKLaboklab(88.91% -0.043 0.1381)
OKLCHoklch(88.91% 0.145 107.3)
XYZxyz(61.6384, 71.4695, 23.1159)
Luminance0.7147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E166 #666AE5
analogous
#E5A166 #E5E166 #AAE566
triadic
#E5E166 #66E5E1 #E166E5
tetradic
#E5E166 #66E5A1 #666AE5 #E566AA
square
#E5E166 #66E5A1 #666AE5 #E566AA
split-complementary
#E5E166 #66AAE5 #A166E5
monochromatic
#B2AE1E #DCD732 #E5E166 #EEEB9A #F7F6CF

Accessibility & contrast

On white

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

On black

15.29
#E5E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E166
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E166#FFFFFF#000000##000000
##E5E1661.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5e166;
/* rgb */ color: rgb(229, 225, 102);
/* oklch */ color: oklch(88.9% 0.145 107.3);
Tailwind
colors: {
  custom: {
    50: '#f0ea95',
    500: '#e5e166',
    950: '#000000',
  },
}
SCSS
$custom: #e5e166;
$custom-light: #f0ea95;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e166",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 58.11,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88914,
    "c": 0.14461,
    "h": 107.3
  },
  "luminance": 0.71468
}

Semantic roles & 50–950 ramp

primary
#E5E166
secondary
#3C40B3
accent
#19D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E5E166

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

Preview Lab → · Contrast checker → · Palette generator →

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