#808F1C#808F1C

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

Color values

HEX#808F1C
RGBrgb(128, 143, 28)
HSLhsl(68, 67%, 34%)
HSVhsv(68, 80%, 56%)
CMYKcmyk(10.5%, 0%, 80.4%, 43.9%)
CIE-LABlab(56.41, -20.07, 54.21)
CIE-LCHlch(56.41, 57.81, 110.32°)
OKLaboklab(61.73% -0.0608 0.1184)
OKLCHoklch(61.73% 0.133 117.2)
XYZxyz(18.9346, 24.3182, 4.7948)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F1C #2B1C8F
analogous
#8F641C #808F1C #468F1C
triadic
#808F1C #1C808F #8F1C80
tetradic
#808F1C #1C8F64 #2B1C8F #8F1C46
square
#808F1C #1C8F64 #2B1C8F #8F1C46
split-complementary
#808F1C #1C468F #641C8F
monochromatic
#242908 #525C12 #808F1C #AEC226 #C9DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808F1C#FFFFFF#000000##000000
##808F1C1.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: #808f1c;
/* rgb */ color: rgb(128, 143, 28);
/* oklch */ color: oklch(61.7% 0.133 117.2);
Tailwind
colors: {
  custom: {
    50: '#a8af63',
    500: '#808f1c',
    950: '#000000',
  },
}
SCSS
$custom: #808f1c;
$custom-light: #a8af63;
$custom-dark: #000000;
JSON
{
  "hex": "#808f1c",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 67.826,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.13309,
    "h": 117.2
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#808F1C
secondary
#5849BE
accent
#3EEA54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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