#808E2B#808E2B

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

Color values

HEX#808E2B
RGBrgb(128, 142, 43)
HSLhsl(68, 54%, 36%)
HSVhsv(68, 70%, 56%)
CMYKcmyk(9.9%, 0%, 69.7%, 44.3%)
CIE-LABlab(56.20, -18.78, 48.64)
CIE-LCHlch(56.20, 52.14, 111.12°)
OKLaboklab(61.6% -0.0559 0.1093)
OKLCHoklch(61.6% 0.123 117.1)
XYZxyz(19.0116, 24.1098, 5.9372)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E2B #392B8E
analogous
#8E6B2B #808E2B #4F8E2B
triadic
#808E2B #2B808E #8E2B80
tetradic
#808E2B #2B8E6B #392B8E #8E2B4F
square
#808E2B #2B8E6B #392B8E #8E2B4F
split-complementary
#808E2B #2B4F8E #6B2B8E
monochromatic
#2B300F #565F1D #808E2B #AABD39 #C1D063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808E2B#FFFFFF#000000##000000
##808E2B1.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)
#98861C
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#88867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e2b;
/* rgb */ color: rgb(128, 142, 43);
/* oklch */ color: oklch(61.6% 0.123 117.1);
Tailwind
colors: {
  custom: {
    50: '#a8af6b',
    500: '#808e2b',
    950: '#000000',
  },
}
SCSS
$custom: #808e2b;
$custom-light: #a8af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#808e2b",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 68.485,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.12273,
    "h": 117.1
  },
  "luminance": 0.2411
}

Semantic roles & 50–950 ramp

primary
#808E2B
secondary
#6B5FB6
accent
#4BDD60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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