#8B9722#8B9722

#8B9722 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.6% C 0.135 H 115.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8B9722
RGBrgb(139, 151, 34)
HSLhsl(66, 63%, 36%)
HSVhsv(66, 77%, 59%)
CMYKcmyk(7.9%, 0%, 77.5%, 40.8%)
CIE-LABlab(59.65, -19.07, 55.58)
CIE-LCHlch(59.65, 58.76, 108.94°)
OKLaboklab(64.56% -0.0582 0.122)
OKLCHoklch(64.56% 0.135 115.5)
XYZxyz(22.0034, 27.7380, 5.7079)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9722 #2E2297
analogous
#976922 #8B9722 #519722
triadic
#8B9722 #228B97 #97228B
tetradic
#8B9722 #229769 #2E2297 #972251
square
#8B9722 #229769 #2E2297 #972251
split-complementary
#8B9722 #225197 #692297
monochromatic
#2F330C #5D6517 #8B9722 #B9C92D #CDDA5A

Accessibility & contrast

On white

3.21
#8B9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8B9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9722
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9722#FFFFFF#000000##000000
##8B97221.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F03
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#948E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8b9722;
/* rgb */ color: rgb(139, 151, 34);
/* oklch */ color: oklch(64.6% 0.135 115.5);
Tailwind
colors: {
  custom: {
    50: '#b0b567',
    500: '#8b9722',
    950: '#000000',
  },
}
SCSS
$custom: #8b9722;
$custom-light: #b0b567;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9722",
  "rgb": {
    "r": 139,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 66.154,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64564,
    "c": 0.13514,
    "h": 115.5
  },
  "luminance": 0.27738
}

Semantic roles & 50–950 ramp

primary
#8B9722
secondary
#6157BE
accent
#42E652
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9722

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

Preview Lab → · Contrast checker → · Palette generator →

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