#E5E97A#E5E97A

#E5E97A is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 90.8% C 0.135 H 110.6°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#E5E97A
RGBrgb(229, 233, 122)
HSLhsl(62, 72%, 70%)
HSVhsv(62, 48%, 91%)
CMYKcmyk(1.7%, 0%, 47.6%, 8.6%)
CIE-LABlab(90.02, -16.53, 53.05)
CIE-LCHlch(90.02, 55.57, 107.31°)
OKLaboklab(90.82% -0.0475 0.126)
OKLCHoklch(90.82% 0.135 110.6)
XYZxyz(64.9661, 76.3423, 29.7218)
Luminance0.7634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E97A #7E7AE9
analogous
#E9B67A #E5E97A #AEE97A
triadic
#E5E97A #7AE5E9 #E97AE5
tetradic
#E5E97A #7AE9B6 #7E7AE9 #E97AAE
square
#E5E97A #7AE9B6 #7E7AE9 #E97AAE
split-complementary
#E5E97A #7AAEE9 #B67AE9
monochromatic
#C2C821 #DBE045 #E5E97A #EFF2AF #FAFAE3

Accessibility & contrast

On white

1.29
#E5E97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#E5E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E97A
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E97A#FFFFFF#000000##000000
##E5E97A1.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E170
Deuteranopia (green-blind)
#F9E480
Tritanopia (blue-blind)
#F2DDCF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e5e97a;
/* rgb */ color: rgb(229, 233, 122);
/* oklch */ color: oklch(90.8% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#efefa3',
    500: '#e5e97a',
    950: '#000000',
  },
}
SCSS
$custom: #e5e97a;
$custom-light: #efefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e97a",
  "rgb": {
    "r": 229,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 62.162,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90819,
    "c": 0.13466,
    "h": 110.6
  },
  "luminance": 0.76341
}

Semantic roles & 50–950 ramp

primary
#E5E97A
secondary
#4A46C1
accent
#12D419
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E5E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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