#816718#816718

#816718 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.5% C 0.098 H 89.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#816718
RGBrgb(129, 103, 24)
HSLhsl(45, 69%, 30%)
HSVhsv(45, 81%, 51%)
CMYKcmyk(0%, 20.2%, 81.4%, 49.4%)
CIE-LABlab(44.85, 2.21, 45.12)
CIE-LCHlch(44.85, 45.18, 87.20°)
OKLaboklab(52.54% 0.0012 0.0981)
OKLCHoklch(52.54% 0.098 89.3)
XYZxyz(14.0692, 14.4345, 2.9091)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816718 #183281
analogous
#813318 #816718 #668118
triadic
#816718 #188167 #671881
tetradic
#816718 #188133 #183281 #811866
square
#816718 #188133 #183281 #811866
split-complementary
#816718 #186681 #331881
monochromatic
#1A1505 #4D3E0E #816718 #B59022 #DAB239

Accessibility & contrast

On white

5.40
#816718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#816718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816718
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816718#FFFFFF#000000##FFFFFF
##8167181.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#8C5D58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #816718;
/* rgb */ color: rgb(129, 103, 24);
/* oklch */ color: oklch(52.5% 0.098 89.3);
Tailwind
colors: {
  custom: {
    50: '#a9925c',
    500: '#816718',
    950: '#000000',
  },
}
SCSS
$custom: #816718;
$custom-light: #a9925c;
$custom-dark: #000000;
JSON
{
  "hex": "#816718",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 45.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.09809,
    "h": 89.3
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#816718
secondary
#405DB5
accent
#68EB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #816718

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

Preview Lab → · Contrast checker → · Palette generator →

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