#EAE381#EAE381

#EAE381 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.1% C 0.120 H 105.0°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#EAE381
RGBrgb(234, 227, 129)
HSLhsl(56, 71%, 71%)
HSVhsv(56, 45%, 92%)
CMYKcmyk(0%, 3%, 44.9%, 8.2%)
CIE-LABlab(88.93, -10.95, 48.49)
CIE-LCHlch(88.93, 49.71, 102.72°)
OKLaboklab(90.08% -0.0311 0.1164)
OKLCHoklch(90.08% 0.12 105)
XYZxyz(65.3647, 74.0174, 31.6082)
Luminance0.7402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE381 #8188EA
analogous
#EAAE81 #EAE381 #BCEA81
triadic
#EAE381 #81EAE3 #E381EA
tetradic
#EAE381 #81EAAE #8188EA #EA81BC
square
#EAE381 #81EAAE #8188EA #EA81BC
split-complementary
#EAE381 #81BCEA #AE81EA
monochromatic
#CEC322 #E1D74D #EAE381 #F3EFB5 #FBF9E5

Accessibility & contrast

On white

1.33
#EAE381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#EAE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE381
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE381#FFFFFF#000000##000000
##EAE3811.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD79
Deuteranopia (green-blind)
#F5E285
Tritanopia (blue-blind)
#F8D7CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #eae381;
/* rgb */ color: rgb(234, 227, 129);
/* oklch */ color: oklch(90.1% 0.120 105.0);
Tailwind
colors: {
  custom: {
    50: '#f2eba7',
    500: '#eae381',
    950: '#000000',
  },
}
SCSS
$custom: #eae381;
$custom-light: #f2eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#eae381",
  "rgb": {
    "r": 234,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 56,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90077,
    "c": 0.12047,
    "h": 105
  },
  "luminance": 0.74016
}

Semantic roles & 50–950 ramp

primary
#EAE381
secondary
#4C54C3
accent
#1FD312
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #EAE381

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

Preview Lab → · Contrast checker → · Palette generator →

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