#808E2A#808E2A

#808E2A is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.123 H 117.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#808E2A
RGBrgb(128, 142, 42)
HSLhsl(68, 54%, 36%)
HSVhsv(68, 70%, 56%)
CMYKcmyk(9.9%, 0%, 70.4%, 44.3%)
CIE-LABlab(56.19, -18.85, 49.03)
CIE-LCHlch(56.19, 52.53, 111.02°)
OKLaboklab(61.59% -0.0562 0.1099)
OKLCHoklch(61.59% 0.123 117.1)
XYZxyz(18.9934, 24.1026, 5.8417)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E2A #382A8E
analogous
#8E6A2A #808E2A #4E8E2A
triadic
#808E2A #2A808E #8E2A80
tetradic
#808E2A #2A8E6A #382A8E #8E2A4E
square
#808E2A #2A8E6A #382A8E #8E2A4E
split-complementary
#808E2A #2A4E8E #6A2A8E
monochromatic
#2B300E #555F1C #808E2A #ABBD38 #C1D162

Accessibility & contrast

On white

3.61
#808E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#808E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E2A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E2A#FFFFFF#000000##000000
##808E2A1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861A
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#88867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e2a;
/* rgb */ color: rgb(128, 142, 42);
/* oklch */ color: oklch(61.6% 0.123 117.1);
Tailwind
colors: {
  custom: {
    50: '#a8af6a',
    500: '#808e2a',
    950: '#000000',
  },
}
SCSS
$custom: #808e2a;
$custom-light: #a8af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#808e2a",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 68.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61587,
    "c": 0.12346,
    "h": 117.1
  },
  "luminance": 0.24102
}

Semantic roles & 50–950 ramp

primary
#808E2A
secondary
#6A5DB6
accent
#4ADE5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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