#816A18#816A18

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

Color values

HEX#816A18
RGBrgb(129, 106, 24)
HSLhsl(47, 69%, 30%)
HSVhsv(47, 81%, 51%)
CMYKcmyk(0%, 17.8%, 81.4%, 49.4%)
CIE-LABlab(45.69, 0.47, 45.89)
CIE-LCHlch(45.69, 45.89, 89.41°)
OKLaboklab(53.21% -0.0038 0.0997)
OKLCHoklch(53.21% 0.1 92.2)
XYZxyz(14.3730, 15.0420, 3.0103)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816A18 #182F81
analogous
#813518 #816A18 #648118
triadic
#816A18 #18816A #6A1881
tetradic
#816A18 #188135 #182F81 #811864
square
#816A18 #188135 #182F81 #811864
split-complementary
#816A18 #186481 #351881
monochromatic
#1A1505 #4D400E #816A18 #B59422 #DAB739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##816A18#FFFFFF#000000##FFFFFF
##816A181.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)
#776806
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#8C615B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #816a18;
/* rgb */ color: rgb(129, 106, 24);
/* oklch */ color: oklch(53.2% 0.100 92.2);
Tailwind
colors: {
  custom: {
    50: '#a9945d',
    500: '#816a18',
    950: '#000000',
  },
}
SCSS
$custom: #816a18;
$custom-light: #a9945d;
$custom-dark: #000000;
JSON
{
  "hex": "#816a18",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 46.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53206,
    "c": 0.0998,
    "h": 92.2
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#816A18
secondary
#4059B5
accent
#63EB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816A18

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

Preview Lab → · Contrast checker → · Palette generator →

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