#E5E172#E5E172

#E5E172 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.1% C 0.134 H 107.0°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#E5E172
RGBrgb(229, 225, 114)
HSLhsl(58, 69%, 67%)
HSVhsv(58, 50%, 90%)
CMYKcmyk(0%, 1.7%, 50.2%, 10.2%)
CIE-LABlab(87.84, -13.29, 54.19)
CIE-LCHlch(87.84, 55.80, 103.78°)
OKLaboklab(89.05% -0.039 0.1278)
OKLCHoklch(89.05% 0.134 107)
XYZxyz(62.2771, 71.7250, 26.4801)
Luminance0.7172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E172 #7276E5
analogous
#E5A872 #E5E172 #B0E572
triadic
#E5E172 #72E5E1 #E172E5
tetradic
#E5E172 #72E5A8 #7276E5 #E572B0
square
#E5E172 #72E5A8 #7276E5 #E572B0
split-complementary
#E5E172 #72B0E5 #A872E5
monochromatic
#BAB522 #DBD63E #E5E172 #EFECA6 #F8F7D9

Accessibility & contrast

On white

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

On black

15.34
#E5E172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E172
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E172#FFFFFF#000000##000000
##E5E1721.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA68
Deuteranopia (green-blind)
#F3DE77
Tritanopia (blue-blind)
#F3D5C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5e172;
/* rgb */ color: rgb(229, 225, 114);
/* oklch */ color: oklch(89.1% 0.134 107.0);
Tailwind
colors: {
  custom: {
    50: '#efea9d',
    500: '#e5e172',
    950: '#000000',
  },
}
SCSS
$custom: #e5e172;
$custom-light: #efea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e172",
  "rgb": {
    "r": 229,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 57.913,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89052,
    "c": 0.13363,
    "h": 107
  },
  "luminance": 0.71723
}

Semantic roles & 50–950 ramp

primary
#E5E172
secondary
#4145BA
accent
#1BD115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E5E172

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

Preview Lab → · Contrast checker → · Palette generator →

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