#EAEF96#EAEF96

#EAEF96 is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 92.9% C 0.112 H 111.1°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#EAEF96
RGBrgb(234, 239, 150)
HSLhsl(63, 74%, 76%)
HSVhsv(63, 37%, 94%)
CMYKcmyk(2.1%, 0%, 37.2%, 6.3%)
CIE-LABlab(92.32, -14.72, 42.50)
CIE-LCHlch(92.32, 44.98, 109.10°)
OKLaboklab(92.86% -0.0402 0.104)
OKLCHoklch(92.86% 0.112 111.1)
XYZxyz(70.3039, 81.4285, 40.8620)
Luminance0.8143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF96 #9B96EF
analogous
#EFC896 #EAEF96 #BEEF96
triadic
#EAEF96 #96EAEF #EF96EA
tetradic
#EAEF96 #96EFC8 #9B96EF #EF96BE
square
#EAEF96 #96EFC8 #9B96EF #EF96BE
split-complementary
#EAEF96 #96BEEF #C896EF
monochromatic
#D5DF2C #DFE761 #EAEF96 #F5F7CB #FAFBE4

Accessibility & contrast

On white

1.21
#EAEF96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#EAEF96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF96
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF96#FFFFFF#000000##000000
##EAEF961.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#FCEA9A
Tritanopia (blue-blind)
#F5E5D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaef96;
/* rgb */ color: rgb(234, 239, 150);
/* oklch */ color: oklch(92.9% 0.112 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f4b6',
    500: '#eaef96',
    950: '#000000',
  },
}
SCSS
$custom: #eaef96;
$custom-light: #f2f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef96",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 150
  },
  "hsl": {
    "h": 63.371,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92864,
    "c": 0.11153,
    "h": 111.1
  },
  "luminance": 0.81427
}

Semantic roles & 50–950 ramp

primary
#EAEF96
secondary
#645ECB
accent
#10D61B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAEF96

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

Preview Lab → · Contrast checker → · Palette generator →

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