#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 |
|---|---|
| RGB | rgb(129, 121, 27) |
| HSL | hsl(55, 65%, 31%) |
| HSV | hsv(55, 79%, 51%) |
| CMYK | cmyk(0%, 6.2%, 79.1%, 49.4%) |
| CIE-LAB | lab(50.00, -7.91, 48.76) |
| CIE-LCH | lch(50.00, 49.40, 99.21°) |
| OKLab | oklab(56.63% -0.0272 0.1065) |
| OKLCH | oklch(56.63% 0.11 104.3) |
| XYZ | xyz(16.0892, 18.4217, 3.7449) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.36
Olive
#808000
ΔE00 3.82
Hazel
#8E7618
ΔE00 5.26
Olive (survey)
#6E750E
ΔE00 5.26
Brown Green
#706C11
ΔE00 5.49
Browny Green
#6F6C0A
ΔE00 5.61
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 |
|---|---|---|---|---|
| ##81791B | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.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