#808112#808112

#808112 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.122 H 110.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#808112
RGBrgb(128, 129, 18)
HSLhsl(61, 76%, 29%)
HSVhsv(61, 86%, 51%)
CMYKcmyk(0.8%, 0%, 86%, 49.4%)
CIE-LABlab(52.21, -13.07, 53.36)
CIE-LCHlch(52.21, 54.94, 103.76°)
OKLaboklab(58.36% -0.0422 0.1147)
OKLCHoklch(58.36% 0.122 110.2)
XYZxyz(16.8622, 20.3339, 3.6087)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808112 #131281
analogous
#814B12 #808112 #498112
triadic
#808112 #128081 #811280
tetradic
#808112 #12814B #131281 #811249
square
#808112 #12814B #131281 #811249
split-complementary
#808112 #124981 #4B1281
monochromatic
#1B1B04 #4B4B0B #808112 #B5B719 #E0E22C

Accessibility & contrast

On white

4.14
#808112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#808112 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808112
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808112#FFFFFF#000000##000000
##8081121.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E1E
Tritanopia (blue-blind)
#8A786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808112;
/* rgb */ color: rgb(128, 129, 18);
/* oklch */ color: oklch(58.4% 0.122 110.2);
Tailwind
colors: {
  custom: {
    50: '#a8a55d',
    500: '#808112',
    950: '#000000',
  },
}
SCSS
$custom: #808112;
$custom-light: #a8a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#808112",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 60.541,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.12225,
    "h": 110.2
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#808112
secondary
#3938B7
accent
#36F237
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #808112

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

Preview Lab → · Contrast checker → · Palette generator →

#808112 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva