#8B8E16#8B8E16

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

Color values

HEX#8B8E16
RGBrgb(139, 142, 22)
HSLhsl(62, 73%, 32%)
HSVhsv(62, 85%, 56%)
CMYKcmyk(2.1%, 0%, 84.5%, 44.3%)
CIE-LABlab(56.97, -14.85, 56.74)
CIE-LCHlch(56.97, 58.65, 104.66°)
OKLaboklab(62.4% -0.0474 0.1222)
OKLCHoklch(62.4% 0.131 111.2)
XYZxyz(20.4660, 24.8935, 4.4857)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E16 #19168E
analogous
#8E5516 #8B8E16 #4F8E16
triadic
#8B8E16 #168B8E #8E168B
tetradic
#8B8E16 #168E55 #19168E #8E164F
square
#8B8E16 #168E55 #19168E #8E164F
split-complementary
#8B8E16 #164F8E #55168E
monochromatic
#232406 #57590E #8B8E16 #BFC31E #DDE13D

Accessibility & contrast

On white

3.51
#8B8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8B8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E16
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E16#FFFFFF#000000##000000
##8B8E161.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8e16;
/* rgb */ color: rgb(139, 142, 22);
/* oklch */ color: oklch(62.4% 0.131 111.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae61',
    500: '#8b8e16',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e16;
$custom-light: #b1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e16",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 61.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62399,
    "c": 0.13112,
    "h": 111.2
  },
  "luminance": 0.24893
}

Semantic roles & 50–950 ramp

primary
#8B8E16
secondary
#423FC1
accent
#38F03D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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