#E5E97F#E5E97F

#E5E97F is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 90.9% C 0.130 H 110.6°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#E5E97F
RGBrgb(229, 233, 127)
HSLhsl(62, 71%, 71%)
HSVhsv(62, 45%, 91%)
CMYKcmyk(1.7%, 0%, 45.5%, 8.6%)
CIE-LABlab(90.08, -16.07, 50.76)
CIE-LCHlch(90.08, 53.25, 107.57°)
OKLaboklab(90.89% -0.0457 0.1214)
OKLCHoklch(90.89% 0.13 110.6)
XYZxyz(65.2839, 76.4694, 31.3956)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E97F #837FE9
analogous
#E9B87F #E5E97F #B0E97F
triadic
#E5E97F #7FE5E9 #E97FE5
tetradic
#E5E97F #7FE9B8 #837FE9 #E97FB0
square
#E5E97F #7FE9B8 #837FE9 #E97FB0
split-complementary
#E5E97F #7FB0E9 #B87FE9
monochromatic
#C4CB23 #DAE04B #E5E97F #F0F2B3 #FAFBE5

Accessibility & contrast

On white

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

On black

16.29
#E5E97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E97F
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E97F#FFFFFF#000000##000000
##E5E97F1.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E176
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#F1DED0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e5e97f;
/* rgb */ color: rgb(229, 233, 127);
/* oklch */ color: oklch(90.9% 0.130 110.6);
Tailwind
colors: {
  custom: {
    50: '#efefa6',
    500: '#e5e97f',
    950: '#000000',
  },
}
SCSS
$custom: #e5e97f;
$custom-light: #efefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e97f",
  "rgb": {
    "r": 229,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 62.264,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90885,
    "c": 0.12966,
    "h": 110.6
  },
  "luminance": 0.76468
}

Semantic roles & 50–950 ramp

primary
#E5E97F
secondary
#4F4AC2
accent
#13D31A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E5E97F

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

Preview Lab → · Contrast checker → · Palette generator →

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