#818015#818015

#818015 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.120 H 109.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#818015
RGBrgb(129, 128, 21)
HSLhsl(59, 72%, 29%)
HSVhsv(59, 84%, 51%)
CMYKcmyk(0%, 0.8%, 83.7%, 49.4%)
CIE-LABlab(52.02, -11.97, 52.43)
CIE-LCHlch(52.02, 53.78, 102.86°)
OKLaboklab(58.23% -0.039 0.1132)
OKLCHoklch(58.23% 0.12 109)
XYZxyz(16.9085, 20.1602, 3.7100)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818015 #151681
analogous
#814A15 #818015 #4C8115
triadic
#818015 #158180 #801581
tetradic
#818015 #15814A #151681 #81154C
square
#818015 #15814A #151681 #81154C
split-complementary
#818015 #154C81 #4A1581
monochromatic
#1A1A04 #4C4C0C #818015 #B6B41E #DEDC33

Accessibility & contrast

On white

4.17
#818015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#818015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818015
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818015#FFFFFF#000000##000000
##8180151.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E1F
Tritanopia (blue-blind)
#8B776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #818015;
/* rgb */ color: rgb(129, 128, 21);
/* oklch */ color: oklch(58.2% 0.120 109.0);
Tailwind
colors: {
  custom: {
    50: '#a9a45e',
    500: '#818015',
    950: '#000000',
  },
}
SCSS
$custom: #818015;
$custom-light: #a9a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#818015",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 59.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.11976,
    "h": 109
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

primary
#818015
secondary
#3C3DB6
accent
#3BEF39
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818015

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

Preview Lab → · Contrast checker → · Palette generator →

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