#818115#818115

#818115 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.121 H 109.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#818115
RGBrgb(129, 129, 21)
HSLhsl(60, 72%, 29%)
HSVhsv(60, 84%, 51%)
CMYKcmyk(0%, 0%, 83.7%, 49.4%)
CIE-LABlab(52.31, -12.51, 52.69)
CIE-LCHlch(52.31, 54.15, 103.36°)
OKLaboklab(58.46% -0.0405 0.1138)
OKLCHoklch(58.46% 0.121 109.6)
XYZxyz(17.0395, 20.4223, 3.7536)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818115 #151581
analogous
#814B15 #818115 #4B8115
triadic
#818115 #158181 #811581
tetradic
#818115 #15814B #151581 #81154B
square
#818115 #15814B #151581 #81154B
split-complementary
#818115 #154B81 #4B1581
monochromatic
#1A1A04 #4C4C0C #818115 #B6B61E #DEDE33

Accessibility & contrast

On white

4.13
#818115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#818115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818115
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818115#FFFFFF#000000##000000
##8181151.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #818115;
/* rgb */ color: rgb(129, 129, 21);
/* oklch */ color: oklch(58.5% 0.121 109.6);
Tailwind
colors: {
  custom: {
    50: '#a9a55f',
    500: '#818115',
    950: '#000000',
  },
}
SCSS
$custom: #818115;
$custom-light: #a9a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#818115",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.12077,
    "h": 109.6
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#818115
secondary
#3C3CB6
accent
#39EF39
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818115

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

Preview Lab → · Contrast checker → · Palette generator →

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