#808115#808115

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

Color values

HEX#808115
RGBrgb(128, 129, 21)
HSLhsl(61, 72%, 29%)
HSVhsv(61, 84%, 51%)
CMYKcmyk(0.8%, 0%, 83.7%, 49.4%)
CIE-LABlab(52.22, -12.98, 52.58)
CIE-LCHlch(52.22, 54.15, 103.86°)
OKLaboklab(58.37% -0.0418 0.1136)
OKLCHoklch(58.37% 0.121 110.2)
XYZxyz(16.8883, 20.3444, 3.7466)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808115 #161581
analogous
#814C15 #808115 #4A8115
triadic
#808115 #158081 #811580
tetradic
#808115 #15814C #161581 #81154A
square
#808115 #15814C #161581 #81154A
split-complementary
#808115 #154A81 #4C1581
monochromatic
#1A1A04 #4C4C0C #808115 #B4B61E #DCDE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808115#FFFFFF#000000##000000
##8081151.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)
#8D7E20
Tritanopia (blue-blind)
#8A786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808115;
/* rgb */ color: rgb(128, 129, 21);
/* oklch */ color: oklch(58.4% 0.121 110.2);
Tailwind
colors: {
  custom: {
    50: '#a8a55f',
    500: '#808115',
    950: '#000000',
  },
}
SCSS
$custom: #808115;
$custom-light: #a8a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#808115",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 60.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.12101,
    "h": 110.2
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#808115
secondary
#3D3CB6
accent
#39EF3B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #808115

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

Preview Lab → · Contrast checker → · Palette generator →

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