#808B2E#808B2E

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

Color values

HEX#808B2E
RGBrgb(128, 139, 46)
HSLhsl(67, 50%, 36%)
HSVhsv(67, 67%, 55%)
CMYKcmyk(7.9%, 0%, 66.9%, 45.5%)
CIE-LABlab(55.33, -17.03, 46.49)
CIE-LCHlch(55.33, 49.51, 110.11°)
OKLaboklab(60.91% -0.0507 0.1052)
OKLCHoklch(60.91% 0.117 115.7)
XYZxyz(18.6283, 23.2520, 6.0910)
Luminance0.2325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B2E #392E8B
analogous
#8B682E #808B2E #528B2E
triadic
#808B2E #2E808B #8B2E80
tetradic
#808B2E #2E8B68 #392E8B #8B2E52
square
#808B2E #2E8B68 #392E8B #8B2E52
split-complementary
#808B2E #2E528B #682E8B
monochromatic
#2B2F10 #565D1F #808B2E #AAB93D #C1CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808B2E#FFFFFF#000000##000000
##808B2E1.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)
#958421
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#888378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b2e;
/* rgb */ color: rgb(128, 139, 46);
/* oklch */ color: oklch(60.9% 0.117 115.7);
Tailwind
colors: {
  custom: {
    50: '#a7ac6c',
    500: '#808b2e',
    950: '#000000',
  },
}
SCSS
$custom: #808b2e;
$custom-light: #a7ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808b2e",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 67.097,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60906,
    "c": 0.11681,
    "h": 115.7
  },
  "luminance": 0.23252
}

Semantic roles & 50–950 ramp

primary
#808B2E
secondary
#6B61B3
accent
#4EDA5F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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