#EAE171#EAE171

#EAE171 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.5% C 0.134 H 104.6°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#EAE171
RGBrgb(234, 225, 113)
HSLhsl(56, 74%, 68%)
HSVhsv(56, 52%, 92%)
CMYKcmyk(0%, 3.8%, 51.7%, 8.2%)
CIE-LABlab(88.23, -11.37, 55.21)
CIE-LCHlch(88.23, 56.37, 101.64°)
OKLaboklab(89.46% -0.0339 0.1299)
OKLCHoklch(89.46% 0.134 104.6)
XYZxyz(63.8393, 72.5371, 26.2578)
Luminance0.7254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE171 #717AEA
analogous
#EAA471 #EAE171 #B6EA71
triadic
#EAE171 #71EAE1 #E171EA
tetradic
#EAE171 #71EAA4 #717AEA #EA71B6
square
#EAE171 #71EAA4 #717AEA #EA71B6
split-complementary
#EAE171 #71B6EA #A471EA
monochromatic
#C4B71D #E2D63C #EAE171 #F2ECA6 #FAF8DC

Accessibility & contrast

On white

1.35
#EAE171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#EAE171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE171
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE171#FFFFFF#000000##000000
##EAE1711.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA67
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#F9D4C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #eae171;
/* rgb */ color: rgb(234, 225, 113);
/* oklch */ color: oklch(89.5% 0.134 104.6);
Tailwind
colors: {
  custom: {
    50: '#f3ea9d',
    500: '#eae171',
    950: '#000000',
  },
}
SCSS
$custom: #eae171;
$custom-light: #f3ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#eae171",
  "rgb": {
    "r": 234,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 55.537,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89457,
    "c": 0.13423,
    "h": 104.6
  },
  "luminance": 0.72535
}

Semantic roles & 50–950 ramp

primary
#EAE171
secondary
#3D47C2
accent
#1ED60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EAE171

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

Preview Lab → · Contrast checker → · Palette generator →

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