#EAEF97#EAEF97

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

Color values

HEX#EAEF97
RGBrgb(234, 239, 151)
HSLhsl(63, 73%, 76%)
HSVhsv(63, 37%, 94%)
CMYKcmyk(2.1%, 0%, 36.8%, 6.3%)
CIE-LABlab(92.34, -14.61, 42.03)
CIE-LCHlch(92.34, 44.49, 109.17°)
OKLaboklab(92.88% -0.0398 0.103)
OKLCHoklch(92.88% 0.11 111.1)
XYZxyz(70.3847, 81.4609, 41.2879)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF97 #9C97EF
analogous
#EFC897 #EAEF97 #BEEF97
triadic
#EAEF97 #97EAEF #EF97EA
tetradic
#EAEF97 #97EFC8 #9C97EF #EF97BE
square
#EAEF97 #97EFC8 #9C97EF #EF97BE
split-complementary
#EAEF97 #97BEEF #C897EF
monochromatic
#D5DF2D #DFE762 #EAEF97 #F5F7CC #FAFBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EAEF97#FFFFFF#000000##000000
##EAEF971.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)
#FCE890
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#F5E5D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaef97;
/* rgb */ color: rgb(234, 239, 151);
/* oklch */ color: oklch(92.9% 0.110 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f4b6',
    500: '#eaef97',
    950: '#000000',
  },
}
SCSS
$custom: #eaef97;
$custom-light: #f2f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef97",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 63.409,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.9288,
    "c": 0.11043,
    "h": 111.1
  },
  "luminance": 0.8146
}

Semantic roles & 50–950 ramp

primary
#EAEF97
secondary
#655FCB
accent
#10D51B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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