#808F1B#808F1B

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

Color values

HEX#808F1B
RGBrgb(128, 143, 27)
HSLhsl(68, 68%, 33%)
HSVhsv(68, 81%, 56%)
CMYKcmyk(10.5%, 0%, 81.1%, 43.9%)
CIE-LABlab(56.40, -20.11, 54.51)
CIE-LCHlch(56.40, 58.10, 110.25°)
OKLaboklab(61.73% -0.061 0.1188)
OKLCHoklch(61.73% 0.134 117.2)
XYZxyz(18.9229, 24.3135, 4.7328)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F1B #2A1B8F
analogous
#8F641B #808F1B #468F1B
triadic
#808F1B #1B808F #8F1B80
tetradic
#808F1B #1B8F64 #2A1B8F #8F1B46
square
#808F1B #1B8F64 #2A1B8F #8F1B46
split-complementary
#808F1B #1B468F #641B8F
monochromatic
#242808 #525C11 #808F1B #AEC225 #C9DC48

Accessibility & contrast

On white

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

On black

5.86
#808F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F1B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F1B#FFFFFF#000000##000000
##808F1B1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808f1b;
/* rgb */ color: rgb(128, 143, 27);
/* oklch */ color: oklch(61.7% 0.134 117.2);
Tailwind
colors: {
  custom: {
    50: '#a8af63',
    500: '#808f1b',
    950: '#000000',
  },
}
SCSS
$custom: #808f1b;
$custom-light: #a8af63;
$custom-dark: #000000;
JSON
{
  "hex": "#808f1b",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 67.759,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61727,
    "c": 0.13358,
    "h": 117.2
  },
  "luminance": 0.24313
}

Semantic roles & 50–950 ramp

primary
#808F1B
secondary
#5748BE
accent
#3DEB53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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