#808E2C#808E2C

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

Color values

HEX#808E2C
RGBrgb(128, 142, 44)
HSLhsl(69, 53%, 36%)
HSVhsv(69, 69%, 56%)
CMYKcmyk(9.9%, 0%, 69%, 44.3%)
CIE-LABlab(56.20, -18.72, 48.24)
CIE-LCHlch(56.20, 51.74, 111.21°)
OKLaboklab(61.6% -0.0556 0.1086)
OKLCHoklch(61.6% 0.122 117.1)
XYZxyz(19.0301, 24.1173, 6.0350)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E2C #3A2C8E
analogous
#8E6B2C #808E2C #4F8E2C
triadic
#808E2C #2C808E #8E2C80
tetradic
#808E2C #2C8E6B #3A2C8E #8E2C4F
square
#808E2C #2C8E6B #3A2C8E #8E2C4F
split-complementary
#808E2C #2C4F8E #6B2C8E
monochromatic
#2C310F #565F1E #808E2C #AABD3A #C0CF65

Accessibility & contrast

On white

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

On black

5.82
#808E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E2C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E2C#FFFFFF#000000##000000
##808E2C1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808e2c;
/* rgb */ color: rgb(128, 142, 44);
/* oklch */ color: oklch(61.6% 0.122 117.1);
Tailwind
colors: {
  custom: {
    50: '#a8af6b',
    500: '#808e2c',
    950: '#000000',
  },
}
SCSS
$custom: #808e2c;
$custom-light: #a8af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#808e2c",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 68.571,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.12201,
    "h": 117.1
  },
  "luminance": 0.24117
}

Semantic roles & 50–950 ramp

primary
#808E2C
secondary
#6C60B6
accent
#4CDC60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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