#816918#816918

#816918 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 53.0% C 0.099 H 91.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#816918
RGBrgb(129, 105, 24)
HSLhsl(46, 69%, 30%)
HSVhsv(46, 81%, 51%)
CMYKcmyk(0%, 18.6%, 81.4%, 49.4%)
CIE-LABlab(45.41, 1.05, 45.63)
CIE-LCHlch(45.41, 45.65, 88.68°)
OKLaboklab(52.98% -0.0021 0.0992)
OKLCHoklch(52.98% 0.099 91.2)
XYZxyz(14.2705, 14.8371, 2.9762)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816918 #183081
analogous
#813518 #816918 #648118
triadic
#816918 #188169 #691881
tetradic
#816918 #188135 #183081 #811864
square
#816918 #188135 #183081 #811864
split-complementary
#816918 #186481 #351881
monochromatic
#1A1505 #4D3F0E #816918 #B59322 #DAB539

Accessibility & contrast

On white

5.29
#816918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#816918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816918
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816918#FFFFFF#000000##FFFFFF
##8169181.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#7C6E1D
Tritanopia (blue-blind)
#8C5F5A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #816918;
/* rgb */ color: rgb(129, 105, 24);
/* oklch */ color: oklch(53.0% 0.099 91.2);
Tailwind
colors: {
  custom: {
    50: '#a9935c',
    500: '#816918',
    950: '#000000',
  },
}
SCSS
$custom: #816918;
$custom-light: #a9935c;
$custom-dark: #000000;
JSON
{
  "hex": "#816918",
  "rgb": {
    "r": 129,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 46.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.0992,
    "h": 91.2
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#816918
secondary
#405AB5
accent
#64EB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816918

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

Preview Lab → · Contrast checker → · Palette generator →

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