#808A2C#808A2C

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

Color values

HEX#808A2C
RGBrgb(128, 138, 44)
HSLhsl(66, 52%, 36%)
HSVhsv(66, 68%, 54%)
CMYKcmyk(7.2%, 0%, 68.1%, 45.9%)
CIE-LABlab(55.02, -16.63, 47.02)
CIE-LCHlch(55.02, 49.88, 109.48°)
OKLaboklab(60.65% -0.0498 0.106)
OKLCHoklch(60.65% 0.117 115.2)
XYZxyz(18.4456, 22.9483, 5.8401)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A2C #362C8A
analogous
#8A652C #808A2C #518A2C
triadic
#808A2C #2C808A #8A2C80
tetradic
#808A2C #2C8A65 #362C8A #8A2C51
square
#808A2C #2C8A65 #362C8A #8A2C51
split-complementary
#808A2C #2C518A #652C8A
monochromatic
#2A2D0E #555C1D #808A2C #ABB83B #C2CD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808A2C#FFFFFF#000000##000000
##808A2C1.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)
#94831F
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#888277
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808a2c;
/* rgb */ color: rgb(128, 138, 44);
/* oklch */ color: oklch(60.7% 0.117 115.2);
Tailwind
colors: {
  custom: {
    50: '#a7ac6b',
    500: '#808a2c',
    950: '#000000',
  },
}
SCSS
$custom: #808a2c;
$custom-light: #a7ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#808a2c",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 66.383,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60651,
    "c": 0.11714,
    "h": 115.2
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#808A2C
secondary
#675EB4
accent
#4DDB5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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