#E4E266#E4E266

#E4E266 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.146 H 108.2°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#E4E266
RGBrgb(228, 226, 102)
HSLhsl(59, 70%, 65%)
HSVhsv(59, 55%, 89%)
CMYKcmyk(0%, 0.9%, 55.3%, 10.6%)
CIE-LABlab(87.90, -15.15, 59.69)
CIE-LCHlch(87.90, 61.58, 104.24°)
OKLaboklab(89.04% -0.0455 0.1385)
OKLCHoklch(89.04% 0.146 108.2)
XYZxyz(61.5913, 71.8477, 23.1913)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E266 #6668E4
analogous
#E4A366 #E4E266 #A7E466
triadic
#E4E266 #66E4E2 #E266E4
tetradic
#E4E266 #66E4A3 #6668E4 #E466A7
square
#E4E266 #66E4A3 #6668E4 #E466A7
split-complementary
#E4E266 #66A7E4 #A366E4
monochromatic
#B0AE1F #DBD832 #E4E266 #EDEC9A #F6F6CE

Accessibility & contrast

On white

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

On black

15.37
#E4E266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E266
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E266#FFFFFF#000000##000000
##E4E2661.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4e266;
/* rgb */ color: rgb(228, 226, 102);
/* oklch */ color: oklch(89.0% 0.146 108.2);
Tailwind
colors: {
  custom: {
    50: '#efea96',
    500: '#e4e266',
    950: '#000000',
  },
}
SCSS
$custom: #e4e266;
$custom-light: #efea96;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e266",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 102
  },
  "hsl": {
    "h": 59.048,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89041,
    "c": 0.14576,
    "h": 108.2
  },
  "luminance": 0.71846
}

Semantic roles & 50–950 ramp

primary
#E4E266
secondary
#3D3FB1
accent
#17D214
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E4E266

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

Preview Lab → · Contrast checker → · Palette generator →

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