#808B2A#808B2A

#808B2A is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 60.9% C 0.120 H 115.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#808B2A
RGBrgb(128, 139, 42)
HSLhsl(67, 54%, 35%)
HSVhsv(67, 70%, 55%)
CMYKcmyk(7.9%, 0%, 69.8%, 45.5%)
CIE-LABlab(55.30, -17.29, 48.14)
CIE-LCHlch(55.30, 51.15, 109.75°)
OKLaboklab(60.87% -0.0518 0.108)
OKLCHoklch(60.87% 0.12 115.6)
XYZxyz(18.5531, 23.2219, 5.6949)
Luminance0.2322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B2A #352A8B
analogous
#8B652A #808B2A #4F8B2A
triadic
#808B2A #2A808B #8B2A80
tetradic
#808B2A #2A8B65 #352A8B #8B2A4F
square
#808B2A #2A8B65 #352A8B #8B2A4F
split-complementary
#808B2A #2A4F8B #652A8B
monochromatic
#292D0E #555C1C #808B2A #ABBA38 #C3CF60

Accessibility & contrast

On white

3.72
#808B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#808B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B2A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B2A#FFFFFF#000000##000000
##808B2A1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#888378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b2a;
/* rgb */ color: rgb(128, 139, 42);
/* oklch */ color: oklch(60.9% 0.120 115.6);
Tailwind
colors: {
  custom: {
    50: '#a8ac6a',
    500: '#808b2a',
    950: '#000000',
  },
}
SCSS
$custom: #808b2a;
$custom-light: #a8ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#808b2a",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 66.804,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.11983,
    "h": 115.6
  },
  "luminance": 0.23222
}

Semantic roles & 50–950 ramp

primary
#808B2A
secondary
#665CB5
accent
#4BDD5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808B2A

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

Preview Lab → · Contrast checker → · Palette generator →

#808B2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva