#82731B#82731B
#82731B is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.4% C 0.105 H 99.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #82731B |
|---|---|
| RGB | rgb(130, 115, 27) |
| HSL | hsl(51, 66%, 31%) |
| HSV | hsv(51, 79%, 51%) |
| CMYK | cmyk(0%, 11.5%, 79.2%, 49%) |
| CIE-LAB | lab(48.37, -4.08, 47.29) |
| CIE-LCH | lch(48.37, 47.47, 94.93°) |
| OKLab | oklab(55.35% -0.0164 0.1033) |
| OKLCH | oklch(55.35% 0.105 99) |
| XYZ | xyz(15.5353, 17.0872, 3.5166) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.22
Hazel
#8E7618
ΔE00 3.54
Poo
#8F7303
ΔE00 4.68
Brown Green
#706C11
ΔE00 5.03
Browny Green
#6F6C0A
ΔE00 5.32
Puke Brown
#947706
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#82731B #1B2A82
analogous
#823F1B #82731B #5D821B
triadic
#82731B #1B8273 #731B82
tetradic
#82731B #1B823F #1B2A82 #821B5D
square
#82731B #1B823F #1B2A82 #821B5D
split-complementary
#82731B #1B5D82 #3F1B82
monochromatic
#1D1906 #4F4610 #82731B #B5A026 #D7C140
Accessibility & contrast
On white
4.75
#82731B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#82731B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #82731B
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##82731B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##82731B | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#8D6A62
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #82731b; /* rgb */ color: rgb(130, 115, 27); /* oklch */ color: oklch(55.4% 0.105 99.0);
Tailwind
colors: {
custom: {
50: '#aa9a5f',
500: '#82731b',
950: '#000000',
},
}SCSS
$custom: #82731b; $custom-light: #aa9a5f; $custom-dark: #000000;
JSON
{
"hex": "#82731b",
"rgb": {
"r": 130,
"g": 115,
"b": 27
},
"hsl": {
"h": 51.262,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.55354,
"c": 0.10464,
"h": 99
},
"luminance": 0.17086
}Semantic roles & 50–950 ramp
primary
#82731B
secondary
#4354B6
accent
#58E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79