#EAEF9A#EAEF9A

#EAEF9A is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 92.9% C 0.107 H 111.2°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#EAEF9A
RGBrgb(234, 239, 154)
HSLhsl(64, 73%, 77%)
HSVhsv(64, 36%, 94%)
CMYKcmyk(2.1%, 0%, 35.6%, 6.3%)
CIE-LABlab(92.38, -14.27, 40.60)
CIE-LCHlch(92.38, 43.03, 109.36°)
OKLaboklab(92.93% -0.0387 0.0998)
OKLCHoklch(92.93% 0.107 111.2)
XYZxyz(70.6315, 81.5596, 42.5873)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF9A #9F9AEF
analogous
#EFC99A #EAEF9A #C0EF9A
triadic
#EAEF9A #9AEAEF #EF9AEA
tetradic
#EAEF9A #9AEFC9 #9F9AEF #EF9AC0
square
#EAEF9A #9AEFC9 #9F9AEF #EF9AC0
split-complementary
#EAEF9A #9AC0EF #C99AEF
monochromatic
#D4DE30 #DFE765 #EAEF9A #F5F7CF #FAFBE5

Accessibility & contrast

On white

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

On black

17.31
#EAEF9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF9A
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF9A#FFFFFF#000000##000000
##EAEF9A1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE894
Deuteranopia (green-blind)
#FCEA9E
Tritanopia (blue-blind)
#F5E5DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #eaef9a;
/* rgb */ color: rgb(234, 239, 154);
/* oklch */ color: oklch(92.9% 0.107 111.2);
Tailwind
colors: {
  custom: {
    50: '#f2f4b8',
    500: '#eaef9a',
    950: '#000000',
  },
}
SCSS
$custom: #eaef9a;
$custom-light: #f2f4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef9a",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 154
  },
  "hsl": {
    "h": 63.529,
    "s": 72.65,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92929,
    "c": 0.10706,
    "h": 111.2
  },
  "luminance": 0.81559
}

Semantic roles & 50–950 ramp

primary
#EAEF9A
secondary
#6862CC
accent
#11D51C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAEF9A

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

Preview Lab → · Contrast checker → · Palette generator →

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