#EAEC98#EAEC98

#EAEC98 is a very light, moderate yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.106 H 109.5°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#EAEC98
RGBrgb(234, 236, 152)
HSLhsl(61, 69%, 76%)
HSVhsv(61, 36%, 93%)
CMYKcmyk(0.8%, 0%, 35.6%, 7.5%)
CIE-LABlab(91.57, -13.02, 40.55)
CIE-LCHlch(91.57, 42.59, 107.80°)
OKLaboklab(92.28% -0.0352 0.0996)
OKLCHoklch(92.28% 0.106 109.5)
XYZxyz(69.5953, 79.7515, 41.4271)
Luminance0.7975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAEC98 #9A98EC
analogous
#ECC498 #EAEC98 #C0EC98
triadic
#EAEC98 #98EAEC #EC98EA
tetradic
#EAEC98 #98ECC4 #9A98EC #EC98C0
square
#EAEC98 #98ECC4 #9A98EC #EC98C0
split-complementary
#EAEC98 #98C0EC #C498EC
monochromatic
#D5D931 #DFE264 #EAEC98 #F5F6CC #FAFAE5

Accessibility & contrast

On white

1.24
#EAEC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#EAEC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAEC98
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAEC98#FFFFFF#000000##000000
##EAEC981.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E592
Deuteranopia (green-blind)
#FAE89C
Tritanopia (blue-blind)
#F5E2D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #eaec98;
/* rgb */ color: rgb(234, 236, 152);
/* oklch */ color: oklch(92.3% 0.106 109.5);
Tailwind
colors: {
  custom: {
    50: '#f2f2b7',
    500: '#eaec98',
    950: '#000000',
  },
}
SCSS
$custom: #eaec98;
$custom-light: #f2f2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#eaec98",
  "rgb": {
    "r": 234,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 61.429,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92278,
    "c": 0.10567,
    "h": 109.5
  },
  "luminance": 0.7975
}

Semantic roles & 50–950 ramp

primary
#EAEC98
secondary
#6361C8
accent
#15D119
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EAEC98

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

Preview Lab → · Contrast checker → · Palette generator →

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