#808A2D#808A2D

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

Color values

HEX#808A2D
RGBrgb(128, 138, 45)
HSLhsl(66, 51%, 36%)
HSVhsv(66, 67%, 54%)
CMYKcmyk(7.2%, 0%, 67.4%, 45.9%)
CIE-LABlab(55.03, -16.57, 46.61)
CIE-LCHlch(55.03, 49.46, 109.57°)
OKLaboklab(60.66% -0.0495 0.1053)
OKLCHoklch(60.66% 0.116 115.2)
XYZxyz(18.4647, 22.9559, 5.9403)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A2D #372D8A
analogous
#8A652D #808A2D #518A2D
triadic
#808A2D #2D808A #8A2D80
tetradic
#808A2D #2D8A65 #372D8A #8A2D51
square
#808A2D #2D8A65 #372D8A #8A2D51
split-complementary
#808A2D #2D518A #652D8A
monochromatic
#2A2E0F #555C1E #808A2D #ABB83C #C2CD65

Accessibility & contrast

On white

3.76
#808A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##808A2D#FFFFFF#000000##000000
##808A2D1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808a2d;
/* rgb */ color: rgb(128, 138, 45);
/* oklch */ color: oklch(60.7% 0.116 115.2);
Tailwind
colors: {
  custom: {
    50: '#a7ac6b',
    500: '#808a2d',
    950: '#000000',
  },
}
SCSS
$custom: #808a2d;
$custom-light: #a7ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#808a2d",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 66.452,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.11638,
    "h": 115.2
  },
  "luminance": 0.22956
}

Semantic roles & 50–950 ramp

primary
#808A2D
secondary
#6960B3
accent
#4DDA5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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