#808F2D#808F2D

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

Color values

HEX#808F2D
RGBrgb(128, 143, 45)
HSLhsl(69, 52%, 37%)
HSVhsv(69, 69%, 56%)
CMYKcmyk(10.5%, 0%, 68.5%, 43.9%)
CIE-LABlab(56.51, -19.17, 48.13)
CIE-LCHlch(56.51, 51.81, 111.72°)
OKLaboklab(61.85% -0.0568 0.1085)
OKLCHoklch(61.85% 0.122 117.6)
XYZxyz(19.1986, 24.4238, 6.1850)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F2D #3C2D8F
analogous
#8F6D2D #808F2D #4F8F2D
triadic
#808F2D #2D808F #8F2D80
tetradic
#808F2D #2D8F6D #3C2D8F #8F2D4F
square
#808F2D #2D8F6D #3C2D8F #8F2D4F
split-complementary
#808F2D #2D4F8F #6D2D8F
monochromatic
#2D3210 #56601E #808F2D #AABE3C #BFCF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808F2D#FFFFFF#000000##000000
##808F2D1.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)
#99871F
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#88877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f2d;
/* rgb */ color: rgb(128, 143, 45);
/* oklch */ color: oklch(61.9% 0.122 117.6);
Tailwind
colors: {
  custom: {
    50: '#a7af6c',
    500: '#808f2d',
    950: '#000000',
  },
}
SCSS
$custom: #808f2d;
$custom-light: #a7af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808f2d",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 69.184,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6185,
    "c": 0.12249,
    "h": 117.6
  },
  "luminance": 0.24424
}

Semantic roles & 50–950 ramp

primary
#808F2D
secondary
#6F62B6
accent
#4CDC62
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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