#808F12#808F12

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

Color values

HEX#808F12
RGBrgb(128, 143, 18)
HSLhsl(67, 78%, 32%)
HSVhsv(67, 87%, 56%)
CMYKcmyk(10.5%, 0%, 87.4%, 43.9%)
CIE-LABlab(56.37, -20.42, 56.84)
CIE-LCHlch(56.37, 60.39, 109.76°)
OKLaboklab(61.69% -0.0625 0.1223)
OKLCHoklch(61.69% 0.137 117.1)
XYZxyz(18.8343, 24.2780, 4.2661)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F12 #21128F
analogous
#8F6012 #808F12 #428F12
triadic
#808F12 #12808F #8F1280
tetradic
#808F12 #128F60 #21128F #8F1242
square
#808F12 #128F60 #21128F #8F1242
split-complementary
#808F12 #12428F #60128F
monochromatic
#1F2204 #4F590B #808F12 #B1C519 #D1E636

Accessibility & contrast

On white

3.59
#808F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##808F12#FFFFFF#000000##000000
##808F121.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988821
Tritanopia (blue-blind)
#898679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f12;
/* rgb */ color: rgb(128, 143, 18);
/* oklch */ color: oklch(61.7% 0.137 117.1);
Tailwind
colors: {
  custom: {
    50: '#a9af60',
    500: '#808f12',
    950: '#000000',
  },
}
SCSS
$custom: #808f12;
$custom-light: #a9af60;
$custom-dark: #000000;
JSON
{
  "hex": "#808f12",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 67.2,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.13731,
    "h": 117.1
  },
  "luminance": 0.24278
}

Semantic roles & 50–950 ramp

primary
#808F12
secondary
#4A3AC3
accent
#34F44B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #808F12

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

Preview Lab → · Contrast checker → · Palette generator →

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