#EAD162#EAD162

#EAD162 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.133 H 96.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#EAD162
RGBrgb(234, 209, 98)
HSLhsl(49, 76%, 65%)
HSVhsv(49, 58%, 92%)
CMYKcmyk(0%, 10.7%, 58.1%, 8.2%)
CIE-LABlab(83.95, -4.46, 57.15)
CIE-LCHlch(83.95, 57.33, 94.46°)
OKLaboklab(86.02% -0.0157 0.1325)
OKLCHoklch(86.02% 0.133 96.8)
XYZxyz(58.9391, 63.9778, 20.7973)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EAD162 #627BEA
analogous
#EA8D62 #EAD162 #BFEA62
triadic
#EAD162 #62EAD1 #D162EA
tetradic
#EAD162 #62EA8D #627BEA #EA62BF
square
#EAD162 #62EA8D #627BEA #EA62BF
split-complementary
#EAD162 #62BFEA #8D62EA
monochromatic
#B99B19 #E3C12C #EAD162 #F1E198 #F8F1CE

Accessibility & contrast

On white

1.52
#EAD162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#EAD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EAD162
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EAD162#FFFFFF#000000##000000
##EAD1621.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#FBC3B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ead162;
/* rgb */ color: rgb(234, 209, 98);
/* oklch */ color: oklch(86.0% 0.133 96.8);
Tailwind
colors: {
  custom: {
    50: '#f4de92',
    500: '#ead162',
    950: '#000000',
  },
}
SCSS
$custom: #ead162;
$custom-light: #f4de92;
$custom-dark: #000000;
JSON
{
  "hex": "#ead162",
  "rgb": {
    "r": 234,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 48.971,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86018,
    "c": 0.1334,
    "h": 96.8
  },
  "luminance": 0.63975
}

Semantic roles & 50–950 ramp

primary
#EAD162
secondary
#384FB8
accent
#32D90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EAD162

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

Preview Lab → · Contrast checker → · Palette generator →

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