#EAE271#EAE271

#EAE271 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.7% C 0.135 H 105.1°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#EAE271
RGBrgb(234, 226, 113)
HSLhsl(56, 74%, 68%)
HSVhsv(56, 52%, 92%)
CMYKcmyk(0%, 3.4%, 51.7%, 8.2%)
CIE-LABlab(88.49, -11.87, 55.52)
CIE-LCHlch(88.49, 56.77, 102.07°)
OKLaboklab(89.66% -0.0353 0.1305)
OKLCHoklch(89.66% 0.135 105.1)
XYZxyz(64.1105, 73.0793, 26.3482)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE271 #7179EA
analogous
#EAA571 #EAE271 #B5EA71
triadic
#EAE271 #71EAE2 #E271EA
tetradic
#EAE271 #71EAA5 #7179EA #EA71B5
square
#EAE271 #71EAA5 #7179EA #EA71B5
split-complementary
#EAE271 #71B5EA #A571EA
monochromatic
#C4B91D #E2D73C #EAE271 #F2EDA6 #FAF8DC

Accessibility & contrast

On white

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

On black

15.62
#EAE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE271
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE271#FFFFFF#000000##000000
##EAE2711.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB66
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#F9D5C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #eae271;
/* rgb */ color: rgb(234, 226, 113);
/* oklch */ color: oklch(89.7% 0.135 105.1);
Tailwind
colors: {
  custom: {
    50: '#f3ea9d',
    500: '#eae271',
    950: '#000000',
  },
}
SCSS
$custom: #eae271;
$custom-light: #f3ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#eae271",
  "rgb": {
    "r": 234,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 56.033,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89663,
    "c": 0.13523,
    "h": 105.1
  },
  "luminance": 0.73077
}

Semantic roles & 50–950 ramp

primary
#EAE271
secondary
#3D46C2
accent
#1CD60F
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EAE271

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

Preview Lab → · Contrast checker → · Palette generator →

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