#81791C#81791C

#81791C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.109 H 104.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#81791C
RGBrgb(129, 121, 28)
HSLhsl(55, 64%, 31%)
HSVhsv(55, 78%, 51%)
CMYKcmyk(0%, 6.2%, 78.3%, 49.4%)
CIE-LABlab(50.01, -7.87, 48.41)
CIE-LCHlch(50.01, 49.05, 99.23°)
OKLaboklab(56.64% -0.027 0.106)
OKLCHoklch(56.64% 0.109 104.3)
XYZxyz(16.1009, 18.4264, 3.8069)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81791C #1C2481
analogous
#81471C #81791C #56811C
triadic
#81791C #1C8179 #791C81
tetradic
#81791C #1C8147 #1C2481 #811C56
square
#81791C #1C8147 #1C2481 #811C56
split-complementary
#81791C #1C5681 #471C81
monochromatic
#1C1B06 #4F4A11 #81791C #B3A827 #D6CA42

Accessibility & contrast

On white

4.48
#81791C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#81791C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81791C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81791C#FFFFFF#000000##000000
##81791C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847507
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#8B7067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #81791c;
/* rgb */ color: rgb(129, 121, 28);
/* oklch */ color: oklch(56.6% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#a99f60',
    500: '#81791c',
    950: '#000000',
  },
}
SCSS
$custom: #81791c;
$custom-light: #a99f60;
$custom-dark: #000000;
JSON
{
  "hex": "#81791c",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 55.248,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.10936,
    "h": 104.3
  },
  "luminance": 0.18426
}

Semantic roles & 50–950 ramp

primary
#81791C
secondary
#444DB4
accent
#4EE740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81791C

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

Preview Lab → · Contrast checker → · Palette generator →

#81791C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva