#808F2F#808F2F

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

Color values

HEX#808F2F
RGBrgb(128, 143, 47)
HSLhsl(69, 51%, 37%)
HSVhsv(69, 67%, 56%)
CMYKcmyk(10.5%, 0%, 67.1%, 43.9%)
CIE-LABlab(56.53, -19.04, 47.31)
CIE-LCHlch(56.53, 51.00, 111.92°)
OKLaboklab(61.87% -0.0562 0.1071)
OKLCHoklch(61.87% 0.121 117.7)
XYZxyz(19.2380, 24.4395, 6.3926)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F2F #3E2F8F
analogous
#8F6E2F #808F2F #508F2F
triadic
#808F2F #2F808F #8F2F80
tetradic
#808F2F #2F8F6E #3E2F8F #8F2F50
square
#808F2F #2F8F6E #3E2F8F #8F2F50
split-complementary
#808F2F #2F508F #6E2F8F
monochromatic
#2E3311 #576120 #808F2F #A9BD3E #BFCE6A

Accessibility & contrast

On white

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

On black

5.89
#808F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F2F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F2F#FFFFFF#000000##000000
##808F2F1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988722
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#88877B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #808f2f;
/* rgb */ color: rgb(128, 143, 47);
/* oklch */ color: oklch(61.9% 0.121 117.7);
Tailwind
colors: {
  custom: {
    50: '#a7af6d',
    500: '#808f2f',
    950: '#000000',
  },
}
SCSS
$custom: #808f2f;
$custom-light: #a7af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#808f2f",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 69.375,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.12097,
    "h": 117.7
  },
  "luminance": 0.24439
}

Semantic roles & 50–950 ramp

primary
#808F2F
secondary
#7165B5
accent
#4EDA64
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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