#808E2D#808E2D

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

Color values

HEX#808E2D
RGBrgb(128, 142, 45)
HSLhsl(69, 52%, 37%)
HSVhsv(69, 68%, 56%)
CMYKcmyk(9.9%, 0%, 68.3%, 44.3%)
CIE-LABlab(56.21, -18.66, 47.83)
CIE-LCHlch(56.21, 51.34, 111.31°)
OKLaboklab(61.61% -0.0553 0.1079)
OKLCHoklch(61.61% 0.121 117.2)
XYZxyz(19.0491, 24.1249, 6.1352)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E2D #3B2D8E
analogous
#8E6C2D #808E2D #508E2D
triadic
#808E2D #2D808E #8E2D80
tetradic
#808E2D #2D8E6C #3B2D8E #8E2D50
square
#808E2D #2D8E6C #3B2D8E #8E2D50
split-complementary
#808E2D #2D508E #6C2D8E
monochromatic
#2C3110 #56601E #808E2D #AABC3C #C0CF67

Accessibility & contrast

On white

3.61
#808E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##808E2D#FFFFFF#000000##000000
##808E2D1.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861F
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#88867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e2d;
/* rgb */ color: rgb(128, 142, 45);
/* oklch */ color: oklch(61.6% 0.121 117.2);
Tailwind
colors: {
  custom: {
    50: '#a7af6c',
    500: '#808e2d',
    950: '#000000',
  },
}
SCSS
$custom: #808e2d;
$custom-light: #a7af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808e2d",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 68.66,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61612,
    "c": 0.12126,
    "h": 117.2
  },
  "luminance": 0.24125
}

Semantic roles & 50–950 ramp

primary
#808E2D
secondary
#6E61B5
accent
#4CDB61
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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