#827D1F#827D1F
#827D1F is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.111 H 106.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #827D1F |
|---|---|
| RGB | rgb(130, 125, 31) |
| HSL | hsl(57, 61%, 32%) |
| HSV | hsv(57, 76%, 51%) |
| CMYK | cmyk(0%, 3.8%, 76.2%, 49%) |
| CIE-LAB | lab(51.28, -9.47, 48.54) |
| CIE-LCH | lch(51.28, 49.46, 101.04°) |
| OKLab | oklab(57.68% -0.0312 0.1068) |
| OKLCH | oklch(57.68% 0.111 106.3) |
| XYZ | xyz(16.7875, 19.5126, 4.1781) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.81
Shit Green
#758000
ΔE00 4.76
Ugly Brown
#7D7103
ΔE00 4.94
Olive (survey)
#6E750E
ΔE00 5.38
Poop Green
#6F7C00
ΔE00 5.47
Drab
#828344
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827D1F #1F2482
analogous
#824C1F #827D1F #56821F
triadic
#827D1F #1F827D #7D1F82
tetradic
#827D1F #1F824C #1F2482 #821F56
square
#827D1F #1F824C #1F2482 #821F56
split-complementary
#827D1F #1F5682 #4C1F82
monochromatic
#1F1E07 #514D13 #827D1F #B3AD2B #D3CC48
Accessibility & contrast
On white
4.28
#827D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#827D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827D1F
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827D1F | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#8C746B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #827d1f; /* rgb */ color: rgb(130, 125, 31); /* oklch */ color: oklch(57.7% 0.111 106.3);
Tailwind
colors: {
custom: {
50: '#a9a262',
500: '#827d1f',
950: '#000000',
},
}SCSS
$custom: #827d1f; $custom-light: #a9a262; $custom-dark: #000000;
JSON
{
"hex": "#827d1f",
"rgb": {
"r": 130,
"g": 125,
"b": 31
},
"hsl": {
"h": 56.97,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.57677,
"c": 0.11129,
"h": 106.3
},
"luminance": 0.19512
}Semantic roles & 50–950 ramp
primary
#827D1F
secondary
#484DB5
accent
#4BE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A