#818112#818112

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

Color values

HEX#818112
RGBrgb(129, 129, 18)
HSLhsl(60, 76%, 29%)
HSVhsv(60, 86%, 51%)
CMYKcmyk(0%, 0%, 86%, 49.4%)
CIE-LABlab(52.30, -12.61, 53.47)
CIE-LCHlch(52.30, 54.94, 103.27°)
OKLaboklab(58.45% -0.041 0.1149)
OKLCHoklch(58.45% 0.122 109.6)
XYZxyz(17.0134, 20.4118, 3.6158)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818112 #121281
analogous
#814A12 #818112 #4A8112
triadic
#818112 #128181 #811281
tetradic
#818112 #12814A #121281 #81124A
square
#818112 #12814A #121281 #81124A
split-complementary
#818112 #124A81 #4A1281
monochromatic
#1B1B04 #4B4B0B #818112 #B7B719 #E2E22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818112#FFFFFF#000000##000000
##8181121.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)
#8D7E1E
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #818112;
/* rgb */ color: rgb(129, 129, 18);
/* oklch */ color: oklch(58.4% 0.122 109.6);
Tailwind
colors: {
  custom: {
    50: '#a9a55d',
    500: '#818112',
    950: '#000000',
  },
}
SCSS
$custom: #818112;
$custom-light: #a9a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#818112",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.58448,
    "c": 0.122,
    "h": 109.6
  },
  "luminance": 0.20411
}

Semantic roles & 50–950 ramp

primary
#818112
secondary
#3838B7
accent
#36F236
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818112

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

Preview Lab → · Contrast checker → · Palette generator →

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