#808C18#808C18

#808C18 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.132 H 115.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#808C18
RGBrgb(128, 140, 24)
HSLhsl(66, 71%, 32%)
HSVhsv(66, 83%, 55%)
CMYKcmyk(8.6%, 0%, 82.9%, 45.1%)
CIE-LABlab(55.49, -18.68, 54.57)
CIE-LCHlch(55.49, 57.68, 108.90°)
OKLaboklab(61% -0.0573 0.1184)
OKLCHoklch(61% 0.132 115.8)
XYZxyz(18.4456, 23.4116, 4.4112)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C18 #24188C
analogous
#8C5E18 #808C18 #468C18
triadic
#808C18 #18808C #8C1880
tetradic
#808C18 #188C5E #24188C #8C1846
square
#808C18 #188C5E #24188C #8C1846
split-complementary
#808C18 #18468C #5E188C
monochromatic
#202406 #50580F #808C18 #B0C021 #CEDE40

Accessibility & contrast

On white

3.70
#808C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#808C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C18
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C18#FFFFFF#000000##000000
##808C181.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c18;
/* rgb */ color: rgb(128, 140, 24);
/* oklch */ color: oklch(61.0% 0.132 115.8);
Tailwind
colors: {
  custom: {
    50: '#a8ad61',
    500: '#808c18',
    950: '#000000',
  },
}
SCSS
$custom: #808c18;
$custom-light: #a8ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#808c18",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 66.207,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.13156,
    "h": 115.8
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

primary
#808C18
secondary
#4E41BF
accent
#3AED4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808C18

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

Preview Lab → · Contrast checker → · Palette generator →

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