#808B1F#808B1F

#808B1F is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.8% C 0.127 H 115.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#808B1F
RGBrgb(128, 139, 31)
HSLhsl(66, 64%, 33%)
HSVhsv(66, 78%, 55%)
CMYKcmyk(7.9%, 0%, 77.7%, 45.5%)
CIE-LABlab(55.23, -17.88, 52.17)
CIE-LCHlch(55.23, 55.15, 108.91°)
OKLaboklab(60.79% -0.0545 0.1146)
OKLCHoklch(60.79% 0.127 115.4)
XYZxyz(18.3825, 23.1537, 4.7968)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B1F #2A1F8B
analogous
#8B601F #808B1F #4A8B1F
triadic
#808B1F #1F808B #8B1F80
tetradic
#808B1F #1F8B60 #2A1F8B #8B1F4A
square
#808B1F #1F8B60 #2A1F8B #8B1F4A
split-complementary
#808B1F #1F4A8B #601F8B
monochromatic
#242709 #525914 #808B1F #AEBD2A #C9D74D

Accessibility & contrast

On white

3.73
#808B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#808B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B1F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B1F#FFFFFF#000000##000000
##808B1F1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958404
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b1f;
/* rgb */ color: rgb(128, 139, 31);
/* oklch */ color: oklch(60.8% 0.127 115.4);
Tailwind
colors: {
  custom: {
    50: '#a8ac64',
    500: '#808b1f',
    950: '#000000',
  },
}
SCSS
$custom: #808b1f;
$custom-light: #a8ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#808b1f",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 66.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.1269,
    "h": 115.4
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

primary
#808B1F
secondary
#574CBA
accent
#41E752
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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