#EAEF98#EAEF98

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

Color values

HEX#EAEF98
RGBrgb(234, 239, 152)
HSLhsl(63, 73%, 77%)
HSVhsv(63, 36%, 94%)
CMYKcmyk(2.1%, 0%, 36.4%, 6.3%)
CIE-LABlab(92.35, -14.50, 41.55)
CIE-LCHlch(92.35, 44.01, 109.23°)
OKLaboklab(92.9% -0.0394 0.1019)
OKLCHoklch(92.9% 0.109 111.2)
XYZxyz(70.4663, 81.4935, 41.7174)
Luminance0.8149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEF98 #9D98EF
analogous
#EFC998 #EAEF98 #BFEF98
triadic
#EAEF98 #98EAEF #EF98EA
tetradic
#EAEF98 #98EFC9 #9D98EF #EF98BF
square
#EAEF98 #98EFC9 #9D98EF #EF98BF
split-complementary
#EAEF98 #98BFEF #C998EF
monochromatic
#D4DF2E #DFE763 #EAEF98 #F5F7CD #FAFBE5

Accessibility & contrast

On white

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

On black

17.30
#EAEF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEF98
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEF98#FFFFFF#000000##000000
##EAEF981.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eaef98;
/* rgb */ color: rgb(234, 239, 152);
/* oklch */ color: oklch(92.9% 0.109 111.2);
Tailwind
colors: {
  custom: {
    50: '#f2f4b7',
    500: '#eaef98',
    950: '#000000',
  },
}
SCSS
$custom: #eaef98;
$custom-light: #f2f4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eaef98",
  "rgb": {
    "r": 234,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 63.448,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92897,
    "c": 0.10931,
    "h": 111.2
  },
  "luminance": 0.81492
}

Semantic roles & 50–950 ramp

primary
#EAEF98
secondary
#6660CC
accent
#10D51C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EAEF98

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

Preview Lab → · Contrast checker → · Palette generator →

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