#827F25#827F25
#827F25 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.109 H 107.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #827F25 |
|---|---|
| RGB | rgb(130, 127, 37) |
| HSL | hsl(58, 56%, 33%) |
| HSV | hsv(58, 72%, 51%) |
| CMYK | cmyk(0%, 2.3%, 71.5%, 49%) |
| CIE-LAB | lab(51.90, -10.26, 46.82) |
| CIE-LCH | lch(51.90, 47.93, 102.36°) |
| OKLab | oklab(58.18% -0.0328 0.1043) |
| OKLCH | oklch(58.18% 0.109 107.5) |
| XYZ | xyz(17.1299, 20.0587, 4.7193) |
| Luminance | 0.2006 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.03
Shit Green
#758000
ΔE00 4.52
Drab
#828344
ΔE00 5.09
Poop Green
#6F7C00
ΔE00 5.35
Olive (survey)
#6E750E
ΔE00 5.57
Murky Green
#6C7A0E
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827F25 #252882
analogous
#825125 #827F25 #568225
triadic
#827F25 #25827F #7F2582
tetradic
#827F25 #258251 #252882 #822556
square
#827F25 #258251 #252882 #822556
split-complementary
#827F25 #255682 #512582
monochromatic
#23220A #525017 #827F25 #B2AE33 #CECA53
Accessibility & contrast
On white
4.19
#827F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#827F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827F25
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827F25 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #827f25; /* rgb */ color: rgb(130, 127, 37); /* oklch */ color: oklch(58.2% 0.109 107.5);
Tailwind
colors: {
custom: {
50: '#a9a366',
500: '#827f25',
950: '#000000',
},
}SCSS
$custom: #827f25; $custom-light: #a9a366; $custom-dark: #000000;
JSON
{
"hex": "#827f25",
"rgb": {
"r": 130,
"g": 127,
"b": 37
},
"hsl": {
"h": 58.065,
"s": 55.689,
"l": 32.745
},
"oklch": {
"l": 0.58185,
"c": 0.10937,
"h": 107.5
},
"luminance": 0.20058
}Semantic roles & 50–950 ramp
primary
#827F25
secondary
#5054B2
accent
#4EDF49
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A