#808A2E#808A2E

#808A2E 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#808A2E
RGBrgb(128, 138, 46)
HSLhsl(67, 50%, 36%)
HSVhsv(67, 67%, 54%)
CMYKcmyk(7.2%, 0%, 66.7%, 45.9%)
CIE-LABlab(55.03, -16.50, 46.19)
CIE-LCHlch(55.03, 49.05, 109.66°)
OKLaboklab(60.67% -0.0492 0.1046)
OKLCHoklch(60.67% 0.116 115.2)
XYZxyz(18.4841, 22.9637, 6.0429)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A2E #382E8A
analogous
#8A662E #808A2E #528A2E
triadic
#808A2E #2E808A #8A2E80
tetradic
#808A2E #2E8A66 #382E8A #8A2E52
square
#808A2E #2E8A66 #382E8A #8A2E52
split-complementary
#808A2E #2E528A #662E8A
monochromatic
#2B2E0F #555C1F #808A2E #ABB83D #C1CC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808A2E#FFFFFF#000000##000000
##808A2E1.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)
#948322
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#888277
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808a2e;
/* rgb */ color: rgb(128, 138, 46);
/* oklch */ color: oklch(60.7% 0.116 115.2);
Tailwind
colors: {
  custom: {
    50: '#a7ac6c',
    500: '#808a2e',
    950: '#000000',
  },
}
SCSS
$custom: #808a2e;
$custom-light: #a7ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808a2e",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 66.522,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60669,
    "c": 0.11559,
    "h": 115.2
  },
  "luminance": 0.22963
}

Semantic roles & 50–950 ramp

primary
#808A2E
secondary
#6A61B3
accent
#4EDA5D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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