#8E8D16#8E8D16

#8E8D16 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.129 H 109.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8E8D16
RGBrgb(142, 141, 22)
HSLhsl(60, 73%, 32%)
HSVhsv(60, 85%, 56%)
CMYKcmyk(0%, 0.7%, 84.5%, 44.3%)
CIE-LABlab(56.94, -12.95, 56.81)
CIE-LCHlch(56.94, 58.27, 102.84°)
OKLaboklab(62.43% -0.0423 0.1223)
OKLCHoklch(62.43% 0.129 109.1)
XYZxyz(20.8259, 24.8591, 4.4602)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D16 #16178E
analogous
#8E5116 #8E8D16 #538E16
triadic
#8E8D16 #168E8D #8D168E
tetradic
#8E8D16 #168E51 #16178E #8E1653
square
#8E8D16 #168E51 #16178E #8E1653
split-complementary
#8E8D16 #16538E #51168E
monochromatic
#242406 #59580E #8E8D16 #C3C21E #E1E03D

Accessibility & contrast

On white

3.52
#8E8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8E8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D16
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D16#FFFFFF#000000##000000
##8E8D161.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8A22
Tritanopia (blue-blind)
#998378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d16;
/* rgb */ color: rgb(142, 141, 22);
/* oklch */ color: oklch(62.4% 0.129 109.1);
Tailwind
colors: {
  custom: {
    50: '#b3ae61',
    500: '#8e8d16',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d16;
$custom-light: #b3ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d16",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 59.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.12938,
    "h": 109.1
  },
  "luminance": 0.24858
}

Semantic roles & 50–950 ramp

primary
#8E8D16
secondary
#3F40C1
accent
#39F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8E8D16

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

Preview Lab → · Contrast checker → · Palette generator →

#8E8D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva