#EAE162#EAE162

#EAE162 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.3% C 0.148 H 105.2°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#EAE162
RGBrgb(234, 225, 98)
HSLhsl(56, 76%, 65%)
HSVhsv(56, 58%, 92%)
CMYKcmyk(0%, 3.8%, 58.1%, 8.2%)
CIE-LABlab(88.08, -12.51, 61.78)
CIE-LCHlch(88.08, 63.03, 101.45°)
OKLaboklab(89.29% -0.0387 0.1424)
OKLCHoklch(89.29% 0.148 105.2)
XYZxyz(63.0636, 72.2268, 22.1721)
Luminance0.7222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAE162 #626BEA
analogous
#EA9D62 #EAE162 #AFEA62
triadic
#EAE162 #62EAE1 #E162EA
tetradic
#EAE162 #62EA9D #626BEA #EA62AF
square
#EAE162 #62EA9D #626BEA #EA62AF
split-complementary
#EAE162 #62AFEA #9D62EA
monochromatic
#B9AE19 #E3D72C #EAE162 #F1EB98 #F8F6CE

Accessibility & contrast

On white

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

On black

15.44
#EAE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAE162
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAE162#FFFFFF#000000##000000
##EAE1621.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F6E069
Tritanopia (blue-blind)
#FAD3C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #eae162;
/* rgb */ color: rgb(234, 225, 98);
/* oklch */ color: oklch(89.3% 0.148 105.2);
Tailwind
colors: {
  custom: {
    50: '#f4ea93',
    500: '#eae162',
    950: '#000000',
  },
}
SCSS
$custom: #eae162;
$custom-light: #f4ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#eae162",
  "rgb": {
    "r": 234,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 56.029,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8929,
    "c": 0.14754,
    "h": 105.2
  },
  "luminance": 0.72225
}

Semantic roles & 50–950 ramp

primary
#EAE162
secondary
#3840B8
accent
#1AD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #EAE162

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

Preview Lab → · Contrast checker → · Palette generator →

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