#808A1E#808A1E

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

Color values

HEX#808A1E
RGBrgb(128, 138, 30)
HSLhsl(66, 64%, 33%)
HSVhsv(66, 78%, 54%)
CMYKcmyk(7.2%, 0%, 78.3%, 45.9%)
CIE-LABlab(54.93, -17.40, 52.23)
CIE-LCHlch(54.93, 55.05, 108.42°)
OKLaboklab(60.55% -0.0533 0.1145)
OKLCHoklch(60.55% 0.126 115)
XYZxyz(18.2254, 22.8602, 4.6804)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A1E #281E8A
analogous
#8A5E1E #808A1E #4A8A1E
triadic
#808A1E #1E808A #8A1E80
tetradic
#808A1E #1E8A5E #281E8A #8A1E4A
square
#808A1E #1E8A5E #281E8A #8A1E4A
split-complementary
#808A1E #1E4A8A #5E1E8A
monochromatic
#232508 #515813 #808A1E #AFBC29 #CBD84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808A1E#FFFFFF#000000##000000
##808A1E1.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)
#948302
Deuteranopia (green-blind)
#948428
Tritanopia (blue-blind)
#898276
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808a1e;
/* rgb */ color: rgb(128, 138, 30);
/* oklch */ color: oklch(60.5% 0.126 115.0);
Tailwind
colors: {
  custom: {
    50: '#a8ac64',
    500: '#808a1e',
    950: '#000000',
  },
}
SCSS
$custom: #808a1e;
$custom-light: #a8ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#808a1e",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 65.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60549,
    "c": 0.12632,
    "h": 115
  },
  "luminance": 0.2286
}

Semantic roles & 50–950 ramp

primary
#808A1E
secondary
#544ABA
accent
#41E750
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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