#81741F#81741F
#81741F is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.103 H 100.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #81741F |
|---|---|
| RGB | rgb(129, 116, 31) |
| HSL | hsl(52, 61%, 31%) |
| HSV | hsv(52, 76%, 51%) |
| CMYK | cmyk(0%, 10.1%, 76%, 49.4%) |
| CIE-LAB | lab(48.58, -4.93, 45.94) |
| CIE-LCH | lch(48.58, 46.21, 96.12°) |
| OKLab | oklab(55.51% -0.0184 0.1014) |
| OKLCH | oklch(55.51% 0.103 100.3) |
| XYZ | xyz(15.5467, 17.2576, 3.8082) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.48
Hazel
#8E7618
ΔE00 4.09
Brown Green
#706C11
ΔE00 4.78
Browny Green
#6F6C0A
ΔE00 5.09
Poo
#8F7303
ΔE00 5.39
Baby Poop
#937C00
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81741F #1F2C81
analogous
#81431F #81741F #5D811F
triadic
#81741F #1F8174 #741F81
tetradic
#81741F #1F8143 #1F2C81 #811F5D
square
#81741F #1F8143 #1F2C81 #811F5D
split-complementary
#81741F #1F5D81 #431F81
monochromatic
#1E1B07 #504813 #81741F #B2A02B #D3C047
Accessibility & contrast
On white
4.72
#81741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#81741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #81741F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##81741F | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#8B6B63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #81741f; /* rgb */ color: rgb(129, 116, 31); /* oklch */ color: oklch(55.5% 0.103 100.3);
Tailwind
colors: {
custom: {
50: '#a99b61',
500: '#81741f',
950: '#000000',
},
}SCSS
$custom: #81741f; $custom-light: #a99b61; $custom-dark: #000000;
JSON
{
"hex": "#81741f",
"rgb": {
"r": 129,
"g": 116,
"b": 31
},
"hsl": {
"h": 52.041,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.55508,
"c": 0.103,
"h": 100.3
},
"luminance": 0.17257
}Semantic roles & 50–950 ramp
primary
#81741F
secondary
#4856B4
accent
#59E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A