#EAE98F#EAE98F

#EAE98F is a very light, moderate yellow. Relative luminance 0.778; OKLCH L 91.5% C 0.112 H 107.9°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#EAE98F
RGBrgb(234, 233, 143)
HSLhsl(59, 68%, 74%)
HSVhsv(59, 39%, 92%)
CMYKcmyk(0%, 0.4%, 38.9%, 8.2%)
CIE-LABlab(90.67, -12.52, 43.84)
CIE-LCHlch(90.67, 45.59, 105.94°)
OKLaboklab(91.52% -0.0344 0.1068)
OKLCHoklch(91.52% 0.112 107.9)
XYZxyz(68.0295, 77.7548, 37.4058)
Luminance0.7775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE98F #8F90EA
analogous
#EABC8F #EAE98F #BEEA8F
triadic
#EAE98F #8FEAE9 #E98FEA
tetradic
#EAE98F #8FEABC #8F90EA #EA8FBE
square
#EAE98F #8FEABC #8F90EA #EA8FBE
split-complementary
#EAE98F #8FBEEA #BC8FEA
monochromatic
#D6D428 #E0DF5B #EAE98F #F4F3C3 #FAFAE5

Accessibility & contrast

On white

1.27
#EAE98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.55
#EAE98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE98F
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE98F#FFFFFF#000000##000000
##EAE98F1.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E288
Deuteranopia (green-blind)
#F8E693
Tritanopia (blue-blind)
#F6DFD3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #eae98f;
/* rgb */ color: rgb(234, 233, 143);
/* oklch */ color: oklch(91.5% 0.112 107.9);
Tailwind
colors: {
  custom: {
    50: '#f2efb1',
    500: '#eae98f',
    950: '#000000',
  },
}
SCSS
$custom: #eae98f;
$custom-light: #f2efb1;
$custom-dark: #000000;
JSON
{
  "hex": "#eae98f",
  "rgb": {
    "r": 234,
    "g": 233,
    "b": 143
  },
  "hsl": {
    "h": 59.341,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91517,
    "c": 0.11216,
    "h": 107.9
  },
  "luminance": 0.77753
}

Semantic roles & 50–950 ramp

primary
#EAE98F
secondary
#595AC4
accent
#17D015
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171611
muted
#858581

Preview Lab

Preview with #EAE98F

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

Preview Lab → · Contrast checker → · Palette generator →

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