#EAE97F#EAE97F

#EAE97F is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.3% C 0.129 H 108.2°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#EAE97F
RGBrgb(234, 233, 127)
HSLhsl(59, 72%, 71%)
HSVhsv(59, 46%, 92%)
CMYKcmyk(0%, 0.4%, 45.7%, 8.2%)
CIE-LABlab(90.46, -14.11, 51.32)
CIE-LCHlch(90.46, 53.22, 105.38°)
OKLaboklab(91.29% -0.0403 0.1225)
OKLCHoklch(91.29% 0.129 108.2)
XYZxyz(66.9027, 77.3041, 31.4715)
Luminance0.7730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE97F #7F80EA
analogous
#EAB37F #EAE97F #B5EA7F
triadic
#EAE97F #7FEAE9 #E97FEA
tetradic
#EAE97F #7FEAB3 #7F80EA #EA7FB5
square
#EAE97F #7FEAB3 #7F80EA #EA7FB5
split-complementary
#EAE97F #7FB5EA #B37FEA
monochromatic
#CDCB22 #E1E04A #EAE97F #F3F2B4 #FBFAE5

Accessibility & contrast

On white

1.28
#EAE97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#EAE97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE97F
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE97F#FFFFFF#000000##000000
##EAE97F1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E176
Deuteranopia (green-blind)
#FAE684
Tritanopia (blue-blind)
#F7DDD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #eae97f;
/* rgb */ color: rgb(234, 233, 127);
/* oklch */ color: oklch(91.3% 0.129 108.2);
Tailwind
colors: {
  custom: {
    50: '#f2efa6',
    500: '#eae97f',
    950: '#000000',
  },
}
SCSS
$custom: #eae97f;
$custom-light: #f2efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#eae97f",
  "rgb": {
    "r": 234,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 59.439,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91286,
    "c": 0.12899,
    "h": 108.2
  },
  "luminance": 0.77303
}

Semantic roles & 50–950 ramp

primary
#EAE97F
secondary
#4A4BC3
accent
#13D412
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EAE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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