#808C2A#808C2A

#808C2A is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.121 H 116.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#808C2A
RGBrgb(128, 140, 42)
HSLhsl(67, 54%, 36%)
HSVhsv(67, 70%, 55%)
CMYKcmyk(8.6%, 0%, 70%, 45.1%)
CIE-LABlab(55.60, -17.81, 48.44)
CIE-LCHlch(55.60, 51.61, 110.19°)
OKLaboklab(61.11% -0.0533 0.1087)
OKLCHoklch(61.11% 0.121 116.1)
XYZxyz(18.6985, 23.5128, 5.7434)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C2A #362A8C
analogous
#8C672A #808C2A #4F8C2A
triadic
#808C2A #2A808C #8C2A80
tetradic
#808C2A #2A8C67 #362A8C #8C2A4F
square
#808C2A #2A8C67 #362A8C #8C2A4F
split-complementary
#808C2A #2A4F8C #672A8C
monochromatic
#2A2E0E #555D1C #808C2A #ABBB38 #C2D061

Accessibility & contrast

On white

3.68
#808C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#808C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C2A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C2A#FFFFFF#000000##000000
##808C2A1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#888478
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c2a;
/* rgb */ color: rgb(128, 140, 42);
/* oklch */ color: oklch(61.1% 0.121 116.1);
Tailwind
colors: {
  custom: {
    50: '#a8ad6a',
    500: '#808c2a',
    950: '#000000',
  },
}
SCSS
$custom: #808c2a;
$custom-light: #a8ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#808c2a",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 67.347,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.12104,
    "h": 116.1
  },
  "luminance": 0.23513
}

Semantic roles & 50–950 ramp

primary
#808C2A
secondary
#675CB5
accent
#4BDD5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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