#808F18#808F18

#808F18 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.7% C 0.135 H 117.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#808F18
RGBrgb(128, 143, 24)
HSLhsl(68, 71%, 33%)
HSVhsv(68, 83%, 56%)
CMYKcmyk(10.5%, 0%, 83.2%, 43.9%)
CIE-LABlab(56.39, -20.23, 55.35)
CIE-LCHlch(56.39, 58.93, 110.07°)
OKLaboklab(61.71% -0.0616 0.1201)
OKLCHoklch(61.71% 0.135 117.1)
XYZxyz(18.8899, 24.3003, 4.5593)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F18 #27188F
analogous
#8F6218 #808F18 #448F18
triadic
#808F18 #18808F #8F1880
tetradic
#808F18 #188F62 #27188F #8F1844
square
#808F18 #188F62 #27188F #8F1844
split-complementary
#808F18 #18448F #62188F
monochromatic
#222606 #515B0F #808F18 #AFC321 #CBDF42

Accessibility & contrast

On white

3.58
#808F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#808F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F18
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F18#FFFFFF#000000##000000
##808F181.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#89867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f18;
/* rgb */ color: rgb(128, 143, 24);
/* oklch */ color: oklch(61.7% 0.135 117.1);
Tailwind
colors: {
  custom: {
    50: '#a8af62',
    500: '#808f18',
    950: '#000000',
  },
}
SCSS
$custom: #808f18;
$custom-light: #a8af62;
$custom-dark: #000000;
JSON
{
  "hex": "#808f18",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 67.563,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.13496,
    "h": 117.1
  },
  "luminance": 0.243
}

Semantic roles & 50–950 ramp

primary
#808F18
secondary
#5343C0
accent
#3AEE51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F18

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

Preview Lab → · Contrast checker → · Palette generator →

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