#808E2F#808E2F

#808E2F is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.120 H 117.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#808E2F
RGBrgb(128, 142, 47)
HSLhsl(69, 50%, 37%)
HSVhsv(69, 67%, 56%)
CMYKcmyk(9.9%, 0%, 66.9%, 44.3%)
CIE-LABlab(56.23, -18.52, 47.00)
CIE-LCHlch(56.23, 50.52, 111.51°)
OKLaboklab(61.63% -0.0548 0.1065)
OKLCHoklch(61.63% 0.12 117.2)
XYZxyz(19.0886, 24.1406, 6.3428)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E2F #3D2F8E
analogous
#8E6D2F #808E2F #518E2F
triadic
#808E2F #2F808E #8E2F80
tetradic
#808E2F #2F8E6D #3D2F8E #8E2F51
square
#808E2F #2F8E6D #3D2F8E #8E2F51
split-complementary
#808E2F #2F518E #6D2F8E
monochromatic
#2D3211 #576020 #808E2F #A9BC3E #BFCE6A

Accessibility & contrast

On white

3.60
#808E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#808E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E2F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E2F#FFFFFF#000000##000000
##808E2F1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988622
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#88867B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e2f;
/* rgb */ color: rgb(128, 142, 47);
/* oklch */ color: oklch(61.6% 0.120 117.2);
Tailwind
colors: {
  custom: {
    50: '#a7af6d',
    500: '#808e2f',
    950: '#000000',
  },
}
SCSS
$custom: #808e2f;
$custom-light: #a7af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#808e2f",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 68.842,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61629,
    "c": 0.11972,
    "h": 117.2
  },
  "luminance": 0.2414
}

Semantic roles & 50–950 ramp

primary
#808E2F
secondary
#7064B5
accent
#4EDA63
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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