#808A1C#808A1C

#808A1C is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.5% C 0.127 H 114.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#808A1C
RGBrgb(128, 138, 28)
HSLhsl(65, 66%, 33%)
HSVhsv(65, 80%, 54%)
CMYKcmyk(7.2%, 0%, 79.7%, 45.9%)
CIE-LABlab(54.92, -17.49, 52.87)
CIE-LCHlch(54.92, 55.68, 108.30°)
OKLaboklab(60.54% -0.0537 0.1155)
OKLCHoklch(60.54% 0.127 114.9)
XYZxyz(18.2007, 22.8503, 4.5501)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A1C #261C8A
analogous
#8A5D1C #808A1C #498A1C
triadic
#808A1C #1C808A #8A1C80
tetradic
#808A1C #1C8A5D #261C8A #8A1C49
square
#808A1C #1C8A5D #261C8A #8A1C49
split-complementary
#808A1C #1C498A #5D1C8A
monochromatic
#222407 #515712 #808A1C #AFBD26 #CCDA47

Accessibility & contrast

On white

3.77
#808A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#808A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808A1C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808A1C#FFFFFF#000000##000000
##808A1C1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#898176
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808a1c;
/* rgb */ color: rgb(128, 138, 28);
/* oklch */ color: oklch(60.5% 0.127 114.9);
Tailwind
colors: {
  custom: {
    50: '#a8ac63',
    500: '#808a1c',
    950: '#000000',
  },
}
SCSS
$custom: #808a1c;
$custom-light: #a8ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#808a1c",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 65.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.12738,
    "h": 114.9
  },
  "luminance": 0.2285
}

Semantic roles & 50–950 ramp

primary
#808A1C
secondary
#5146BB
accent
#3FE94E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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