#808B2C#808B2C

#808B2C 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#808B2C
RGBrgb(128, 139, 44)
HSLhsl(67, 52%, 36%)
HSVhsv(67, 68%, 55%)
CMYKcmyk(7.9%, 0%, 68.3%, 45.5%)
CIE-LABlab(55.32, -17.16, 47.33)
CIE-LCHlch(55.32, 50.34, 109.93°)
OKLaboklab(60.89% -0.0513 0.1067)
OKLCHoklch(60.89% 0.118 115.7)
XYZxyz(18.5898, 23.2366, 5.8882)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B2C #372C8B
analogous
#8B662C #808B2C #508B2C
triadic
#808B2C #2C808B #8B2C80
tetradic
#808B2C #2C8B66 #372C8B #8B2C50
square
#808B2C #2C8B66 #372C8B #8B2C50
split-complementary
#808B2C #2C508B #662C8B
monochromatic
#2A2E0F #555D1D #808B2C #ABB93B #C2CE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808B2C#FFFFFF#000000##000000
##808B2C1.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)
#95841E
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#888378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b2c;
/* rgb */ color: rgb(128, 139, 44);
/* oklch */ color: oklch(60.9% 0.118 115.7);
Tailwind
colors: {
  custom: {
    50: '#a7ac6b',
    500: '#808b2c',
    950: '#000000',
  },
}
SCSS
$custom: #808b2c;
$custom-light: #a7ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#808b2c",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 66.947,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60889,
    "c": 0.11835,
    "h": 115.7
  },
  "luminance": 0.23236
}

Semantic roles & 50–950 ramp

primary
#808B2C
secondary
#695FB4
accent
#4CDB5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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