#EAE371#EAE371

#EAE371 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.9% C 0.136 H 105.6°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#EAE371
RGBrgb(234, 227, 113)
HSLhsl(57, 74%, 68%)
HSVhsv(57, 52%, 92%)
CMYKcmyk(0%, 3%, 51.7%, 8.2%)
CIE-LABlab(88.74, -12.37, 55.82)
CIE-LCHlch(88.74, 57.17, 102.49°)
OKLaboklab(89.87% -0.0367 0.1312)
OKLCHoklch(89.87% 0.136 105.6)
XYZxyz(64.3832, 73.6248, 26.4391)
Luminance0.7362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE371 #7178EA
analogous
#EAA671 #EAE371 #B4EA71
triadic
#EAE371 #71EAE3 #E371EA
tetradic
#EAE371 #71EAA6 #7178EA #EA71B4
square
#EAE371 #71EAA6 #7178EA #EA71B4
split-complementary
#EAE371 #71B4EA #A671EA
monochromatic
#C4BA1D #E2D83C #EAE371 #F2EEA6 #FAF8DC

Accessibility & contrast

On white

1.34
#EAE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.72
#EAE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE371
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE371#FFFFFF#000000##000000
##EAE3711.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC66
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#F9D6C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #eae371;
/* rgb */ color: rgb(234, 227, 113);
/* oklch */ color: oklch(89.9% 0.136 105.6);
Tailwind
colors: {
  custom: {
    50: '#f3eb9d',
    500: '#eae371',
    950: '#000000',
  },
}
SCSS
$custom: #eae371;
$custom-light: #f3eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#eae371",
  "rgb": {
    "r": 234,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 56.529,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89869,
    "c": 0.13624,
    "h": 105.6
  },
  "luminance": 0.73623
}

Semantic roles & 50–950 ramp

primary
#EAE371
secondary
#3D45C2
accent
#1BD60F
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EAE371

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

Preview Lab → · Contrast checker → · Palette generator →

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