#808B2F#808B2F

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

Color values

HEX#808B2F
RGBrgb(128, 139, 47)
HSLhsl(67, 49%, 36%)
HSVhsv(67, 66%, 55%)
CMYKcmyk(7.9%, 0%, 66.2%, 45.5%)
CIE-LABlab(55.34, -16.96, 46.07)
CIE-LCHlch(55.34, 49.09, 110.21°)
OKLaboklab(60.92% -0.0504 0.1045)
OKLCHoklch(60.92% 0.116 115.8)
XYZxyz(18.6482, 23.2599, 6.1960)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B2F #3A2F8B
analogous
#8B682F #808B2F #528B2F
triadic
#808B2F #2F808B #8B2F80
tetradic
#808B2F #2F8B68 #3A2F8B #8B2F52
square
#808B2F #2F8B68 #3A2F8B #8B2F52
split-complementary
#808B2F #2F528B #682F8B
monochromatic
#2C3010 #565D20 #808B2F #AAB93E #C0CC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #808b2f;
/* rgb */ color: rgb(128, 139, 47);
/* oklch */ color: oklch(60.9% 0.116 115.8);
Tailwind
colors: {
  custom: {
    50: '#a7ac6d',
    500: '#808b2f',
    950: '#000000',
  },
}
SCSS
$custom: #808b2f;
$custom-light: #a7ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#808b2f",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 67.174,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60916,
    "c": 0.11602,
    "h": 115.8
  },
  "luminance": 0.2326
}

Semantic roles & 50–950 ramp

primary
#808B2F
secondary
#6C63B3
accent
#4FD95F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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