#EAE951#EAE951

#EAE951 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.8% C 0.168 H 109.0°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#EAE951
RGBrgb(234, 233, 81)
HSLhsl(60, 78%, 62%)
HSVhsv(60, 65%, 92%)
CMYKcmyk(0%, 0.4%, 65.4%, 8.2%)
CIE-LABlab(90.03, -17.51, 70.81)
CIE-LCHlch(90.03, 72.94, 103.89°)
OKLaboklab(90.8% -0.0547 0.1591)
OKLCHoklch(90.8% 0.168 109)
XYZxyz(64.5580, 76.3662, 19.1224)
Luminance0.7636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE951 #5152EA
analogous
#EA9D51 #EAE951 #9FEA51
triadic
#EAE951 #51EAE9 #E951EA
tetradic
#EAE951 #51EA9D #5152EA #EA519F
square
#EAE951 #51EA9D #5152EA #EA519F
split-complementary
#EAE951 #519FEA #9D51EA
monochromatic
#ACAB15 #E2E11B #EAE951 #F1F088 #F7F7BE

Accessibility & contrast

On white

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

On black

16.27
#EAE951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE951
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE951#FFFFFF#000000##000000
##EAE9511.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE03B
Deuteranopia (green-blind)
#FDE55B
Tritanopia (blue-blind)
#FADBCA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #eae951;
/* rgb */ color: rgb(234, 233, 81);
/* oklch */ color: oklch(90.8% 0.168 109.0);
Tailwind
colors: {
  custom: {
    50: '#f4ef8a',
    500: '#eae951',
    950: '#000000',
  },
}
SCSS
$custom: #eae951;
$custom-light: #f4ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#eae951",
  "rgb": {
    "r": 234,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 59.608,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.90802,
    "c": 0.16823,
    "h": 109
  },
  "luminance": 0.76364
}

Semantic roles & 50–950 ramp

primary
#EAE951
secondary
#3233AD
accent
#0CDB0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #EAE951

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

Preview Lab → · Contrast checker → · Palette generator →

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