#827A1B#827A1B
#827A1B is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.111 H 104.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #827A1B |
|---|---|
| RGB | rgb(130, 122, 27) |
| HSL | hsl(55, 66%, 31%) |
| HSV | hsv(55, 79%, 51%) |
| CMYK | cmyk(0%, 6.2%, 79.2%, 49%) |
| CIE-LAB | lab(50.39, -8.00, 49.14) |
| CIE-LCH | lch(50.39, 49.79, 99.24°) |
| OKLab | oklab(56.96% -0.0275 0.1073) |
| OKLCH | oklch(56.96% 0.111 104.4) |
| XYZ | xyz(16.3640, 18.7447, 3.7928) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.55
Ugly Brown
#7D7103
ΔE00 3.66
Hazel
#8E7618
ΔE00 5.27
Olive (survey)
#6E750E
ΔE00 5.47
Baby Poop
#937C00
ΔE00 5.57
Shit Green
#758000
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827A1B #1B2382
analogous
#82461B #827A1B #56821B
triadic
#827A1B #1B827A #7A1B82
tetradic
#827A1B #1B8246 #1B2382 #821B56
square
#827A1B #1B8246 #1B2382 #821B56
split-complementary
#827A1B #1B5682 #461B82
monochromatic
#1D1B06 #4F4A10 #827A1B #B5AA26 #D7CC40
Accessibility & contrast
On white
4.42
#827A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#827A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827A1B
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827A1B | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#8C7168
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #827a1b; /* rgb */ color: rgb(130, 122, 27); /* oklch */ color: oklch(57.0% 0.111 104.4);
Tailwind
colors: {
custom: {
50: '#aaa060',
500: '#827a1b',
950: '#000000',
},
}SCSS
$custom: #827a1b; $custom-light: #aaa060; $custom-dark: #000000;
JSON
{
"hex": "#827a1b",
"rgb": {
"r": 130,
"g": 122,
"b": 27
},
"hsl": {
"h": 55.34,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.56957,
"c": 0.11076,
"h": 104.4
},
"luminance": 0.18744
}Semantic roles & 50–950 ramp
primary
#827A1B
secondary
#434CB6
accent
#4CE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79