#816E17#816E17

#816E17 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.103 H 95.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#816E17
RGBrgb(129, 110, 23)
HSLhsl(49, 70%, 30%)
HSVhsv(49, 82%, 51%)
CMYKcmyk(0%, 14.7%, 82.2%, 49.4%)
CIE-LABlab(46.82, -1.87, 47.26)
CIE-LCHlch(46.82, 47.29, 92.26°)
OKLaboklab(54.1% -0.0105 0.1025)
OKLCHoklch(54.1% 0.103 95.9)
XYZxyz(14.7847, 15.8817, 3.0972)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E17 #172A81
analogous
#813917 #816E17 #5F8117
triadic
#816E17 #17816E #6E1781
tetradic
#816E17 #178139 #172A81 #81175F
square
#816E17 #178139 #172A81 #81175F
split-complementary
#816E17 #175F81 #391781
monochromatic
#1A1605 #4D420E #816E17 #B59A20 #DBBE37

Accessibility & contrast

On white

5.03
#816E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#816E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816E17
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816E17#FFFFFF#000000##FFFFFF
##816E171.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#7F721D
Tritanopia (blue-blind)
#8C655E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e17;
/* rgb */ color: rgb(129, 110, 23);
/* oklch */ color: oklch(54.1% 0.103 95.9);
Tailwind
colors: {
  custom: {
    50: '#a9975d',
    500: '#816e17',
    950: '#000000',
  },
}
SCSS
$custom: #816e17;
$custom-light: #a9975d;
$custom-dark: #000000;
JSON
{
  "hex": "#816e17",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 49.245,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.10299,
    "h": 95.9
  },
  "luminance": 0.15881
}

Semantic roles & 50–950 ramp

primary
#816E17
secondary
#3E54B5
accent
#5BED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816E17

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

Preview Lab → · Contrast checker → · Palette generator →

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