#808E2E#808E2E

#808E2E is a mid, vivid 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#808E2E
RGBrgb(128, 142, 46)
HSLhsl(69, 51%, 37%)
HSVhsv(69, 68%, 56%)
CMYKcmyk(9.9%, 0%, 67.6%, 44.3%)
CIE-LABlab(56.22, -18.59, 47.42)
CIE-LCHlch(56.22, 50.93, 111.41°)
OKLaboklab(61.62% -0.0551 0.1072)
OKLCHoklch(61.62% 0.121 117.2)
XYZxyz(19.0686, 24.1327, 6.2378)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E2E #3C2E8E
analogous
#8E6C2E #808E2E #508E2E
triadic
#808E2E #2E808E #8E2E80
tetradic
#808E2E #2E8E6C #3C2E8E #8E2E50
square
#808E2E #2E8E6C #3C2E8E #8E2E50
split-complementary
#808E2E #2E508E #6C2E8E
monochromatic
#2D3210 #56601F #808E2E #AABC3D #BFCE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808E2E#FFFFFF#000000##000000
##808E2E1.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)
#988621
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#88867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e2e;
/* rgb */ color: rgb(128, 142, 46);
/* oklch */ color: oklch(61.6% 0.120 117.2);
Tailwind
colors: {
  custom: {
    50: '#a7af6c',
    500: '#808e2e',
    950: '#000000',
  },
}
SCSS
$custom: #808e2e;
$custom-light: #a7af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808e2e",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 68.75,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6162,
    "c": 0.1205,
    "h": 117.2
  },
  "luminance": 0.24132
}

Semantic roles & 50–950 ramp

primary
#808E2E
secondary
#6F63B5
accent
#4DDB62
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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