#808A2F#808A2F

#808A2F is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.7% C 0.115 H 115.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#808A2F
RGBrgb(128, 138, 47)
HSLhsl(67, 49%, 36%)
HSVhsv(67, 66%, 54%)
CMYKcmyk(7.2%, 0%, 65.9%, 45.9%)
CIE-LABlab(55.04, -16.43, 45.76)
CIE-LCHlch(55.04, 48.62, 109.75°)
OKLaboklab(60.68% -0.0489 0.1038)
OKLCHoklch(60.68% 0.115 115.2)
XYZxyz(18.5041, 22.9717, 6.1480)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A2F #392F8A
analogous
#8A672F #808A2F #538A2F
triadic
#808A2F #2F808A #8A2F80
tetradic
#808A2F #2F8A67 #392F8A #8A2F53
square
#808A2F #2F8A67 #392F8A #8A2F53
split-complementary
#808A2F #2F538A #672F8A
monochromatic
#2B2F10 #565C1F #808A2F #AAB83F #C1CC68

Accessibility & contrast

On white

3.75
#808A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#808A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808A2F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808A2F#FFFFFF#000000##000000
##808A2F1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#938535
Tritanopia (blue-blind)
#888277
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808a2f;
/* rgb */ color: rgb(128, 138, 47);
/* oklch */ color: oklch(60.7% 0.115 115.2);
Tailwind
colors: {
  custom: {
    50: '#a7ac6c',
    500: '#808a2f',
    950: '#000000',
  },
}
SCSS
$custom: #808a2f;
$custom-light: #a7ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808a2f",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 66.593,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.11479,
    "h": 115.2
  },
  "luminance": 0.22971
}

Semantic roles & 50–950 ramp

primary
#808A2F
secondary
#6B62B3
accent
#4FD95E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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