#808F2E#808F2E

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

Color values

HEX#808F2E
RGBrgb(128, 143, 46)
HSLhsl(69, 51%, 37%)
HSVhsv(69, 68%, 56%)
CMYKcmyk(10.5%, 0%, 67.8%, 43.9%)
CIE-LABlab(56.52, -19.11, 47.73)
CIE-LCHlch(56.52, 51.41, 111.82°)
OKLaboklab(61.86% -0.0565 0.1078)
OKLCHoklch(61.86% 0.122 117.7)
XYZxyz(19.2181, 24.4316, 6.2876)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F2E #3D2E8F
analogous
#8F6E2E #808F2E #508F2E
triadic
#808F2E #2E808F #8F2E80
tetradic
#808F2E #2E8F6E #3D2E8F #8F2E50
square
#808F2E #2E8F6E #3D2E8F #8F2E50
split-complementary
#808F2E #2E508F #6E2E8F
monochromatic
#2D3210 #57611F #808F2E #A9BD3D #BFCF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808F2E#FFFFFF#000000##000000
##808F2E1.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)
#998720
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#88877B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #808f2e;
/* rgb */ color: rgb(128, 143, 46);
/* oklch */ color: oklch(61.9% 0.122 117.7);
Tailwind
colors: {
  custom: {
    50: '#a7af6c',
    500: '#808f2e',
    950: '#000000',
  },
}
SCSS
$custom: #808f2e;
$custom-light: #a7af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808f2e",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 69.278,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61859,
    "c": 0.12173,
    "h": 117.7
  },
  "luminance": 0.24431
}

Semantic roles & 50–950 ramp

primary
#808F2E
secondary
#7063B6
accent
#4DDB63
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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