#EAE78B#EAE78B

#EAE78B is a very light, moderate yellow. Relative luminance 0.765; OKLCH L 91.0% C 0.114 H 106.8°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#EAE78B
RGBrgb(234, 231, 139)
HSLhsl(58, 69%, 73%)
HSVhsv(58, 41%, 92%)
CMYKcmyk(0%, 1.3%, 40.6%, 8.2%)
CIE-LABlab(90.10, -11.95, 45.08)
CIE-LCHlch(90.10, 46.63, 104.84°)
OKLaboklab(91.04% -0.0331 0.1094)
OKLCHoklch(91.04% 0.114 106.8)
XYZxyz(67.1689, 76.5099, 35.6507)
Luminance0.7651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE78B #8B8EEA
analogous
#EAB78B #EAE78B #BDEA8B
triadic
#EAE78B #8BEAE7 #E78BEA
tetradic
#EAE78B #8BEAB7 #8B8EEA #EA8BBD
square
#EAE78B #8BEAB7 #8B8EEA #EA8BBD
split-complementary
#EAE78B #8BBDEA #B78BEA
monochromatic
#D4CF26 #E1DC57 #EAE78B #F3F2BF #FAFAE5

Accessibility & contrast

On white

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

On black

16.30
#EAE78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE78B
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE78B#FFFFFF#000000##000000
##EAE78B1.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eae78b;
/* rgb */ color: rgb(234, 231, 139);
/* oklch */ color: oklch(91.0% 0.114 106.8);
Tailwind
colors: {
  custom: {
    50: '#f2eeae',
    500: '#eae78b',
    950: '#000000',
  },
}
SCSS
$custom: #eae78b;
$custom-light: #f2eeae;
$custom-dark: #000000;
JSON
{
  "hex": "#eae78b",
  "rgb": {
    "r": 234,
    "g": 231,
    "b": 139
  },
  "hsl": {
    "h": 58.105,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91044,
    "c": 0.11425,
    "h": 106.8
  },
  "luminance": 0.76508
}

Semantic roles & 50–950 ramp

primary
#EAE78B
secondary
#5559C4
accent
#1AD114
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EAE78B

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

Preview Lab → · Contrast checker → · Palette generator →

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