#EED162#EED162

#EED162 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.4% C 0.134 H 94.8°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#EED162
RGBrgb(238, 209, 98)
HSLhsl(48, 80%, 66%)
HSVhsv(48, 59%, 93%)
CMYKcmyk(0%, 12.2%, 58.8%, 6.7%)
CIE-LABlab(84.31, -2.81, 57.65)
CIE-LCHlch(84.31, 57.72, 92.80°)
OKLaboklab(86.38% -0.0112 0.1335)
OKLCHoklch(86.38% 0.134 94.8)
XYZxyz(60.2675, 64.6628, 20.8596)
Luminance0.6466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED162 #627FEE
analogous
#EE8B62 #EED162 #C5EE62
triadic
#EED162 #62EED1 #D162EE
tetradic
#EED162 #62EE8B #627FEE #EE62C5
square
#EED162 #62EE8B #627FEE #EE62C5
split-complementary
#EED162 #62C5EE #8B62EE
monochromatic
#C19D15 #E8C12B #EED162 #F4E199 #FAF1D0

Accessibility & contrast

On white

1.51
#EED162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#EED162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED162
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED162#FFFFFF#000000##000000
##EED1621.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#ECD667
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #eed162;
/* rgb */ color: rgb(238, 209, 98);
/* oklch */ color: oklch(86.4% 0.134 94.8);
Tailwind
colors: {
  custom: {
    50: '#f7de92',
    500: '#eed162',
    950: '#000000',
  },
}
SCSS
$custom: #eed162;
$custom-light: #f7de92;
$custom-dark: #000000;
JSON
{
  "hex": "#eed162",
  "rgb": {
    "r": 238,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 47.571,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86383,
    "c": 0.13392,
    "h": 94.8
  },
  "luminance": 0.6466
}

Semantic roles & 50–950 ramp

primary
#EED162
secondary
#3552BF
accent
#35DD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EED162

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

Preview Lab → · Contrast checker → · Palette generator →

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