#EAE77F#EAE77F

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

Color values

HEX#EAE77F
RGBrgb(234, 231, 127)
HSLhsl(58, 72%, 71%)
HSVhsv(58, 46%, 92%)
CMYKcmyk(0%, 1.3%, 45.7%, 8.2%)
CIE-LABlab(89.94, -13.12, 50.69)
CIE-LCHlch(89.94, 52.36, 104.52°)
OKLaboklab(90.87% -0.0375 0.1211)
OKLCHoklch(90.87% 0.127 107.2)
XYZxyz(66.3398, 76.1782, 31.2838)
Luminance0.7618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE77F #7F82EA
analogous
#EAB17F #EAE77F #B7EA7F
triadic
#EAE77F #7FEAE7 #E77FEA
tetradic
#EAE77F #7FEAB1 #7F82EA #EA7FB7
square
#EAE77F #7FEAB1 #7F82EA #EA7FB7
split-complementary
#EAE77F #7FB7EA #B17FEA
monochromatic
#CDC822 #E1DD4A #EAE77F #F3F1B4 #FBFAE5

Accessibility & contrast

On white

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

On black

16.24
#EAE77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE77F
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE77F#FFFFFF#000000##000000
##EAE77F1.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eae77f;
/* rgb */ color: rgb(234, 231, 127);
/* oklch */ color: oklch(90.9% 0.127 107.2);
Tailwind
colors: {
  custom: {
    50: '#f2eea6',
    500: '#eae77f',
    950: '#000000',
  },
}
SCSS
$custom: #eae77f;
$custom-light: #f2eea6;
$custom-dark: #000000;
JSON
{
  "hex": "#eae77f",
  "rgb": {
    "r": 234,
    "g": 231,
    "b": 127
  },
  "hsl": {
    "h": 58.318,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90872,
    "c": 0.12681,
    "h": 107.2
  },
  "luminance": 0.76177
}

Semantic roles & 50–950 ramp

primary
#EAE77F
secondary
#4A4DC3
accent
#17D412
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EAE77F

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

Preview Lab → · Contrast checker → · Palette generator →

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