#816E18#816E18

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

Color values

HEX#816E18
RGBrgb(129, 110, 24)
HSLhsl(49, 69%, 30%)
HSVhsv(49, 81%, 51%)
CMYKcmyk(0%, 14.7%, 81.4%, 49.4%)
CIE-LABlab(46.82, -1.83, 46.91)
CIE-LCHlch(46.82, 46.95, 92.23°)
OKLaboklab(54.1% -0.0103 0.1019)
OKLCHoklch(54.1% 0.102 95.8)
XYZxyz(14.7949, 15.8858, 3.1510)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816E18 #182B81
analogous
#813A18 #816E18 #5F8118
triadic
#816E18 #18816E #6E1881
tetradic
#816E18 #18813A #182B81 #81185F
square
#816E18 #18813A #182B81 #81185F
split-complementary
#816E18 #185F81 #3A1881
monochromatic
#1A1605 #4D420E #816E18 #B59A22 #DABD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816E18#FFFFFF#000000##FFFFFF
##816E181.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)
#7A6C04
Deuteranopia (green-blind)
#7F721E
Tritanopia (blue-blind)
#8C655E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #816e18;
/* rgb */ color: rgb(129, 110, 24);
/* oklch */ color: oklch(54.1% 0.102 95.8);
Tailwind
colors: {
  custom: {
    50: '#a9975d',
    500: '#816e18',
    950: '#000000',
  },
}
SCSS
$custom: #816e18;
$custom-light: #a9975d;
$custom-dark: #000000;
JSON
{
  "hex": "#816e18",
  "rgb": {
    "r": 129,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 49.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.10245,
    "h": 95.8
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#816E18
secondary
#4055B5
accent
#5CEB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #816E18

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

Preview Lab → · Contrast checker → · Palette generator →

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