#816A17#816A17

#816A17 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.2% C 0.100 H 92.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#816A17
RGBrgb(129, 106, 23)
HSLhsl(47, 70%, 30%)
HSVhsv(47, 82%, 51%)
CMYKcmyk(0%, 17.8%, 82.2%, 49.4%)
CIE-LABlab(45.69, 0.43, 46.24)
CIE-LCHlch(45.69, 46.24, 89.47°)
OKLaboklab(53.2% -0.004 0.1003)
OKLCHoklch(53.2% 0.1 92.3)
XYZxyz(14.3628, 15.0379, 2.9566)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816A17 #172E81
analogous
#813517 #816A17 #638117
triadic
#816A17 #17816A #6A1781
tetradic
#816A17 #178135 #172E81 #811763
square
#816A17 #178135 #172E81 #811763
split-complementary
#816A17 #176381 #351781
monochromatic
#1A1505 #4D3F0E #816A17 #B59520 #DBB837

Accessibility & contrast

On white

5.24
#816A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#816A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816A17
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816A17#FFFFFF#000000##FFFFFF
##816A171.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#8C605A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #816a17;
/* rgb */ color: rgb(129, 106, 23);
/* oklch */ color: oklch(53.2% 0.100 92.3);
Tailwind
colors: {
  custom: {
    50: '#a9945c',
    500: '#816a17',
    950: '#000000',
  },
}
SCSS
$custom: #816a17;
$custom-light: #a9945c;
$custom-dark: #000000;
JSON
{
  "hex": "#816a17",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 46.981,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.532,
    "c": 0.10034,
    "h": 92.3
  },
  "luminance": 0.15037
}

Semantic roles & 50–950 ramp

primary
#816A17
secondary
#3E58B5
accent
#62ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816A17

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

Preview Lab → · Contrast checker → · Palette generator →

#816A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva