#E5E271#E5E271

#E5E271 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.2% C 0.136 H 107.5°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#E5E271
RGBrgb(229, 226, 113)
HSLhsl(58, 69%, 67%)
HSVhsv(58, 51%, 90%)
CMYKcmyk(0%, 1.3%, 50.7%, 10.2%)
CIE-LABlab(88.09, -13.87, 54.95)
CIE-LCHlch(88.09, 56.67, 104.17°)
OKLaboklab(89.25% -0.0407 0.1294)
OKLCHoklch(89.25% 0.136 107.5)
XYZxyz(62.4917, 72.2446, 26.2723)
Luminance0.7224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E271 #7174E5
analogous
#E5A871 #E5E271 #AEE571
triadic
#E5E271 #71E5E2 #E271E5
tetradic
#E5E271 #71E5A8 #7174E5 #E571AE
square
#E5E271 #71E5A8 #7174E5 #E571AE
split-complementary
#E5E271 #71AEE5 #A871E5
monochromatic
#BAB622 #DCD73D #E5E271 #EEEDA5 #F8F7D8

Accessibility & contrast

On white

1.36
#E5E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#E5E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E271
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E271#FFFFFF#000000##000000
##E5E2711.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA66
Deuteranopia (green-blind)
#F4DF77
Tritanopia (blue-blind)
#F3D6C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e5e271;
/* rgb */ color: rgb(229, 226, 113);
/* oklch */ color: oklch(89.2% 0.136 107.5);
Tailwind
colors: {
  custom: {
    50: '#efea9d',
    500: '#e5e271',
    950: '#000000',
  },
}
SCSS
$custom: #e5e271;
$custom-light: #efea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e271",
  "rgb": {
    "r": 229,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 58.448,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89248,
    "c": 0.13565,
    "h": 107.5
  },
  "luminance": 0.72243
}

Semantic roles & 50–950 ramp

primary
#E5E271
secondary
#4144BA
accent
#19D114
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E5E271

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

Preview Lab → · Contrast checker → · Palette generator →

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