#8B802F#8B802F

#8B802F is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.102 H 101.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8B802F
RGBrgb(139, 128, 47)
HSLhsl(53, 49%, 36%)
HSVhsv(53, 66%, 55%)
CMYKcmyk(0%, 7.9%, 66.2%, 45.5%)
CIE-LABlab(53.10, -6.08, 43.99)
CIE-LCHlch(53.10, 44.41, 97.87°)
OKLaboklab(59.36% -0.0204 0.0998)
OKLCHoklch(59.36% 0.102 101.6)
XYZxyz(18.8805, 21.1333, 5.7734)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B802F #2F3A8B
analogous
#8B522F #8B802F #688B2F
triadic
#8B802F #2F8B80 #802F8B
tetradic
#8B802F #2F8B52 #2F3A8B #8B2F68
square
#8B802F #2F8B52 #2F3A8B #8B2F68
split-complementary
#8B802F #2F688B #522F8B
monochromatic
#302C10 #5D5620 #8B802F #B9AA3E #CCC068

Accessibility & contrast

On white

4.02
#8B802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8B802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B802F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B802F#FFFFFF#000000##000000
##8B802F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C25
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#95776F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b802f;
/* rgb */ color: rgb(139, 128, 47);
/* oklch */ color: oklch(59.4% 0.102 101.6);
Tailwind
colors: {
  custom: {
    50: '#b0a46c',
    500: '#8b802f',
    950: '#000000',
  },
}
SCSS
$custom: #8b802f;
$custom-light: #b0a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b802f",
  "rgb": {
    "r": 139,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 52.826,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.10188,
    "h": 101.6
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#8B802F
secondary
#636CB3
accent
#5FD94F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B802F

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

Preview Lab → · Contrast checker → · Palette generator →

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