#E4E97A#E4E97A

#E4E97A is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.7% C 0.135 H 111.1°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#E4E97A
RGBrgb(228, 233, 122)
HSLhsl(63, 72%, 70%)
HSVhsv(63, 48%, 91%)
CMYKcmyk(2.1%, 0%, 47.6%, 8.6%)
CIE-LABlab(89.94, -16.93, 52.94)
CIE-LCHlch(89.94, 55.58, 107.73°)
OKLaboklab(90.74% -0.0485 0.1258)
OKLCHoklch(90.74% 0.135 111.1)
XYZxyz(64.6479, 76.1782, 29.7069)
Luminance0.7618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E97A #7F7AE9
analogous
#E9B77A #E4E97A #ACE97A
triadic
#E4E97A #7AE4E9 #E97AE4
tetradic
#E4E97A #7AE9B7 #7F7AE9 #E97AAC
square
#E4E97A #7AE9B7 #7F7AE9 #E97AAC
split-complementary
#E4E97A #7AACE9 #B77AE9
monochromatic
#C0C821 #D9E045 #E4E97A #EFF2AF #F9FAE3

Accessibility & contrast

On white

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

On black

16.24
#E4E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E97A
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E97A#FFFFFF#000000##000000
##E4E97A1.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E070
Deuteranopia (green-blind)
#F8E480
Tritanopia (blue-blind)
#F1DDCF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e97a;
/* rgb */ color: rgb(228, 233, 122);
/* oklch */ color: oklch(90.7% 0.135 111.1);
Tailwind
colors: {
  custom: {
    50: '#eeefa3',
    500: '#e4e97a',
    950: '#000000',
  },
}
SCSS
$custom: #e4e97a;
$custom-light: #eeefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e97a",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 62.703,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.9074,
    "c": 0.13482,
    "h": 111.1
  },
  "luminance": 0.76177
}

Semantic roles & 50–950 ramp

primary
#E4E97A
secondary
#4B46C1
accent
#12D41B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E4E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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