#808B1C#808B1C

#808B1C is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.8% C 0.129 H 115.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#808B1C
RGBrgb(128, 139, 28)
HSLhsl(66, 66%, 33%)
HSVhsv(66, 80%, 55%)
CMYKcmyk(7.9%, 0%, 79.9%, 45.5%)
CIE-LABlab(55.21, -18.01, 53.14)
CIE-LCHlch(55.21, 56.10, 108.72°)
OKLaboklab(60.78% -0.0551 0.1161)
OKLCHoklch(60.78% 0.129 115.4)
XYZxyz(18.3448, 23.1386, 4.5982)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B1C #271C8B
analogous
#8B5E1C #808B1C #488B1C
triadic
#808B1C #1C808B #8B1C80
tetradic
#808B1C #1C8B5E #271C8B #8B1C48
square
#808B1C #1C8B5E #271C8B #8B1C48
split-complementary
#808B1C #1C488B #5E1C8B
monochromatic
#222507 #515812 #808B1C #AFBE26 #CBDA47

Accessibility & contrast

On white

3.73
#808B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#808B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B1C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B1C#FFFFFF#000000##000000
##808B1C1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958400
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b1c;
/* rgb */ color: rgb(128, 139, 28);
/* oklch */ color: oklch(60.8% 0.129 115.4);
Tailwind
colors: {
  custom: {
    50: '#a8ac63',
    500: '#808b1c',
    950: '#000000',
  },
}
SCSS
$custom: #808b1c;
$custom-light: #a8ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#808b1c",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 65.946,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.12851,
    "h": 115.4
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#808B1C
secondary
#5347BC
accent
#3EE94F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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