#808F1F#808F1F

#808F1F is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.7% C 0.132 H 117.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#808F1F
RGBrgb(128, 143, 31)
HSLhsl(68, 64%, 34%)
HSVhsv(68, 78%, 56%)
CMYKcmyk(10.5%, 0%, 78.3%, 43.9%)
CIE-LABlab(56.42, -19.94, 53.27)
CIE-LCHlch(56.42, 56.88, 110.52°)
OKLaboklab(61.75% -0.0602 0.1169)
OKLCHoklch(61.75% 0.132 117.3)
XYZxyz(18.9723, 24.3333, 4.9934)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F1F #2E1F8F
analogous
#8F661F #808F1F #488F1F
triadic
#808F1F #1F808F #8F1F80
tetradic
#808F1F #1F8F66 #2E1F8F #8F1F48
square
#808F1F #1F8F66 #2E1F8F #8F1F48
split-complementary
#808F1F #1F488F #661F8F
monochromatic
#262A09 #535D14 #808F1F #ADC12A #C7D94F

Accessibility & contrast

On white

3.58
#808F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#808F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F1F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F1F#FFFFFF#000000##000000
##808F1F1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998701
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#88877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f1f;
/* rgb */ color: rgb(128, 143, 31);
/* oklch */ color: oklch(61.7% 0.132 117.3);
Tailwind
colors: {
  custom: {
    50: '#a8af65',
    500: '#808f1f',
    950: '#000000',
  },
}
SCSS
$custom: #808f1f;
$custom-light: #a8af65;
$custom-dark: #000000;
JSON
{
  "hex": "#808f1f",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 68.036,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.13153,
    "h": 117.3
  },
  "luminance": 0.24333
}

Semantic roles & 50–950 ramp

primary
#808F1F
secondary
#5D4EBC
accent
#40E757
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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