#808E1C#808E1C

#808E1C is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.132 H 116.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#808E1C
RGBrgb(128, 142, 28)
HSLhsl(67, 67%, 33%)
HSVhsv(67, 80%, 56%)
CMYKcmyk(9.9%, 0%, 80.3%, 44.3%)
CIE-LABlab(56.11, -19.56, 53.94)
CIE-LCHlch(56.11, 57.38, 109.93°)
OKLaboklab(61.49% -0.0594 0.1178)
OKLCHoklch(61.49% 0.132 116.8)
XYZxyz(18.7852, 24.0193, 4.7450)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E1C #2A1C8E
analogous
#8E631C #808E1C #478E1C
triadic
#808E1C #1C808E #8E1C80
tetradic
#808E1C #1C8E63 #2A1C8E #8E1C47
square
#808E1C #1C8E63 #2A1C8E #8E1C47
split-complementary
#808E1C #1C478E #631C8E
monochromatic
#242808 #525B12 #808E1C #AEC126 #C9DB49

Accessibility & contrast

On white

3.62
#808E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#808E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E1C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E1C#FFFFFF#000000##000000
##808E1C1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#898679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808e1c;
/* rgb */ color: rgb(128, 142, 28);
/* oklch */ color: oklch(61.5% 0.132 116.8);
Tailwind
colors: {
  custom: {
    50: '#a8af63',
    500: '#808e1c',
    950: '#000000',
  },
}
SCSS
$custom: #808e1c;
$custom-light: #a8af63;
$custom-dark: #000000;
JSON
{
  "hex": "#808e1c",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 67.368,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.13194,
    "h": 116.8
  },
  "luminance": 0.24019
}

Semantic roles & 50–950 ramp

primary
#808E1C
secondary
#5749BD
accent
#3EEA53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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