#808F2A#808F2A

#808F2A is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.125 H 117.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#808F2A
RGBrgb(128, 143, 42)
HSLhsl(69, 55%, 36%)
HSVhsv(69, 71%, 56%)
CMYKcmyk(10.5%, 0%, 70.6%, 43.9%)
CIE-LABlab(56.49, -19.36, 49.33)
CIE-LCHlch(56.49, 53.00, 111.43°)
OKLaboklab(61.83% -0.0576 0.1106)
OKLCHoklch(61.83% 0.125 117.5)
XYZxyz(19.1429, 24.4015, 5.8916)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F2A #392A8F
analogous
#8F6C2A #808F2A #4E8F2A
triadic
#808F2A #2A808F #8F2A80
tetradic
#808F2A #2A8F6C #392A8F #8F2A4E
square
#808F2A #2A8F6C #392A8F #8F2A4E
split-complementary
#808F2A #2A4E8F #6C2A8F
monochromatic
#2B300E #56601C #808F2A #AABE38 #C1D162

Accessibility & contrast

On white

3.57
#808F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#808F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F2A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F2A#FFFFFF#000000##000000
##808F2A1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#88877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f2a;
/* rgb */ color: rgb(128, 143, 42);
/* oklch */ color: oklch(61.8% 0.125 117.5);
Tailwind
colors: {
  custom: {
    50: '#a8af6a',
    500: '#808f2a',
    950: '#000000',
  },
}
SCSS
$custom: #808f2a;
$custom-light: #a8af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#808f2a",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 68.911,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.12467,
    "h": 117.5
  },
  "luminance": 0.24401
}

Semantic roles & 50–950 ramp

primary
#808F2A
secondary
#6B5EB7
accent
#4ADE60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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