#EAE251#EAE251

#EAE251 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.3% C 0.162 H 106.2°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#EAE251
RGBrgb(234, 226, 81)
HSLhsl(57, 78%, 62%)
HSVhsv(57, 65%, 92%)
CMYKcmyk(0%, 3.4%, 65.4%, 8.2%)
CIE-LABlab(88.20, -14.07, 68.93)
CIE-LCHlch(88.20, 70.35, 101.54°)
OKLaboklab(89.34% -0.045 0.1551)
OKLCHoklch(89.34% 0.162 106.2)
XYZxyz(62.6156, 72.4814, 18.4750)
Luminance0.7248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE251 #5159EA
analogous
#EA9651 #EAE251 #A6EA51
triadic
#EAE251 #51EAE2 #E251EA
tetradic
#EAE251 #51EA96 #5159EA #EA51A6
square
#EAE251 #51EA96 #5159EA #EA51A6
split-complementary
#EAE251 #51A6EA #9651EA
monochromatic
#ACA415 #E2D81B #EAE251 #F1EB88 #F7F4BE

Accessibility & contrast

On white

1.36
#EAE251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.50
#EAE251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE251
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE251#FFFFFF#000000##000000
##EAE2511.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA3D
Deuteranopia (green-blind)
#F8E05A
Tritanopia (blue-blind)
#FAD4C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #eae251;
/* rgb */ color: rgb(234, 226, 81);
/* oklch */ color: oklch(89.3% 0.162 106.2);
Tailwind
colors: {
  custom: {
    50: '#f4ea89',
    500: '#eae251',
    950: '#000000',
  },
}
SCSS
$custom: #eae251;
$custom-light: #f4ea89;
$custom-dark: #000000;
JSON
{
  "hex": "#eae251",
  "rgb": {
    "r": 234,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 56.863,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89343,
    "c": 0.16153,
    "h": 106.2
  },
  "luminance": 0.72479
}

Semantic roles & 50–950 ramp

primary
#EAE251
secondary
#3239AD
accent
#16DB0B
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #EAE251

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

Preview Lab → · Contrast checker → · Palette generator →

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