#81791B#81791B

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

Color values

HEX#81791B
RGBrgb(129, 121, 27)
HSLhsl(55, 65%, 31%)
HSVhsv(55, 79%, 51%)
CMYKcmyk(0%, 6.2%, 79.1%, 49.4%)
CIE-LABlab(50.00, -7.91, 48.76)
CIE-LCHlch(50.00, 49.40, 99.21°)
OKLaboklab(56.63% -0.0272 0.1065)
OKLCHoklch(56.63% 0.11 104.3)
XYZxyz(16.0892, 18.4217, 3.7449)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81791B #1B2381
analogous
#81461B #81791B #56811B
triadic
#81791B #1B8179 #791B81
tetradic
#81791B #1B8146 #1B2381 #811B56
square
#81791B #1B8146 #1B2381 #811B56
split-complementary
#81791B #1B5681 #461B81
monochromatic
#1C1A06 #4E4A10 #81791B #B4A826 #D7CB3F

Accessibility & contrast

On white

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

On black

4.68
#81791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81791B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81791B#FFFFFF#000000##000000
##81791B1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81791b;
/* rgb */ color: rgb(129, 121, 27);
/* oklch */ color: oklch(56.6% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#a99f60',
    500: '#81791b',
    950: '#000000',
  },
}
SCSS
$custom: #81791b;
$custom-light: #a99f60;
$custom-dark: #000000;
JSON
{
  "hex": "#81791b",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 55.294,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56629,
    "c": 0.10993,
    "h": 104.3
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#81791B
secondary
#434CB5
accent
#4DE83F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81791B

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

Preview Lab → · Contrast checker → · Palette generator →

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