#808B2D#808B2D

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

Color values

HEX#808B2D
RGBrgb(128, 139, 45)
HSLhsl(67, 51%, 36%)
HSVhsv(67, 68%, 55%)
CMYKcmyk(7.9%, 0%, 67.6%, 45.5%)
CIE-LABlab(55.32, -17.09, 46.91)
CIE-LCHlch(55.32, 49.93, 110.02°)
OKLaboklab(60.9% -0.051 0.106)
OKLCHoklch(60.9% 0.118 115.7)
XYZxyz(18.6088, 23.2442, 5.9884)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B2D #382D8B
analogous
#8B672D #808B2D #518B2D
triadic
#808B2D #2D808B #8B2D80
tetradic
#808B2D #2D8B67 #382D8B #8B2D51
square
#808B2D #2D8B67 #382D8B #8B2D51
split-complementary
#808B2D #2D518B #672D8B
monochromatic
#2B2F0F #555D1E #808B2D #ABB93C #C1CD65

Accessibility & contrast

On white

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

On black

5.65
#808B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B2D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B2D#FFFFFF#000000##000000
##808B2D1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#888378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b2d;
/* rgb */ color: rgb(128, 139, 45);
/* oklch */ color: oklch(60.9% 0.118 115.7);
Tailwind
colors: {
  custom: {
    50: '#a7ac6b',
    500: '#808b2d',
    950: '#000000',
  },
}
SCSS
$custom: #808b2d;
$custom-light: #a7ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#808b2d",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 67.021,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.11759,
    "h": 115.7
  },
  "luminance": 0.23244
}

Semantic roles & 50–950 ramp

primary
#808B2D
secondary
#6A60B4
accent
#4DDB5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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