#EAE781#EAE781

#EAE781 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.9% C 0.125 H 107.1°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#EAE781
RGBrgb(234, 231, 129)
HSLhsl(58, 71%, 71%)
HSVhsv(58, 45%, 92%)
CMYKcmyk(0%, 1.3%, 44.9%, 8.2%)
CIE-LABlab(89.97, -12.94, 49.76)
CIE-LCHlch(89.97, 51.41, 104.57°)
OKLaboklab(90.9% -0.0368 0.1192)
OKLCHoklch(90.9% 0.125 107.1)
XYZxyz(66.4714, 76.2309, 31.9771)
Luminance0.7623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE781 #8184EA
analogous
#EAB281 #EAE781 #B8EA81
triadic
#EAE781 #81EAE7 #E781EA
tetradic
#EAE781 #81EAB2 #8184EA #EA81B8
square
#EAE781 #81EAB2 #8184EA #EA81B8
split-complementary
#EAE781 #81B8EA #B281EA
monochromatic
#CEC922 #E1DD4D #EAE781 #F3F1B5 #FBFAE5

Accessibility & contrast

On white

1.29
#EAE781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#EAE781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE781
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE781#FFFFFF#000000##000000
##EAE7811.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E078
Deuteranopia (green-blind)
#F8E486
Tritanopia (blue-blind)
#F7DBCF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #eae781;
/* rgb */ color: rgb(234, 231, 129);
/* oklch */ color: oklch(90.9% 0.125 107.1);
Tailwind
colors: {
  custom: {
    50: '#f2eea7',
    500: '#eae781',
    950: '#000000',
  },
}
SCSS
$custom: #eae781;
$custom-light: #f2eea7;
$custom-dark: #000000;
JSON
{
  "hex": "#eae781",
  "rgb": {
    "r": 234,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 58.286,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.909,
    "c": 0.12477,
    "h": 107.1
  },
  "luminance": 0.76229
}

Semantic roles & 50–950 ramp

primary
#EAE781
secondary
#4C4FC3
accent
#18D312
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #EAE781

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

Preview Lab → · Contrast checker → · Palette generator →

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