#EAE78E#EAE78E

#EAE78E is a very light, moderate yellow. Relative luminance 0.766; OKLCH L 91.1% C 0.111 H 106.7°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#EAE78E
RGBrgb(234, 231, 142)
HSLhsl(58, 69%, 74%)
HSVhsv(58, 39%, 92%)
CMYKcmyk(0%, 1.3%, 39.3%, 8.2%)
CIE-LABlab(90.14, -11.63, 43.65)
CIE-LCHlch(90.14, 45.18, 104.92°)
OKLaboklab(91.09% -0.032 0.1063)
OKLCHoklch(91.09% 0.111 106.7)
XYZxyz(67.3911, 76.5987, 36.8209)
Luminance0.7660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE78E #8E91EA
analogous
#EAB98E #EAE78E #BFEA8E
triadic
#EAE78E #8EEAE7 #E78EEA
tetradic
#EAE78E #8EEAB9 #8E91EA #EA8EBF
square
#EAE78E #8EEAB9 #8E91EA #EA8EBF
split-complementary
#EAE78E #8EBFEA #B98EEA
monochromatic
#D6D028 #E0DC5A #EAE78E #F4F2C2 #FAFAE5

Accessibility & contrast

On white

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

On black

16.32
#EAE78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE78E
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE78E#FFFFFF#000000##000000
##EAE78E1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E187
Deuteranopia (green-blind)
#F7E592
Tritanopia (blue-blind)
#F6DCD1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #eae78e;
/* rgb */ color: rgb(234, 231, 142);
/* oklch */ color: oklch(91.1% 0.111 106.7);
Tailwind
colors: {
  custom: {
    50: '#f2eeb0',
    500: '#eae78e',
    950: '#000000',
  },
}
SCSS
$custom: #eae78e;
$custom-light: #f2eeb0;
$custom-dark: #000000;
JSON
{
  "hex": "#eae78e",
  "rgb": {
    "r": 234,
    "g": 231,
    "b": 142
  },
  "hsl": {
    "h": 58.043,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9109,
    "c": 0.11099,
    "h": 106.7
  },
  "luminance": 0.76597
}

Semantic roles & 50–950 ramp

primary
#EAE78E
secondary
#585BC4
accent
#1BD115
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EAE78E

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

Preview Lab → · Contrast checker → · Palette generator →

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