#827F23#827F23
#827F23 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.2% C 0.111 H 107.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #827F23 |
|---|---|
| RGB | rgb(130, 127, 35) |
| HSL | hsl(58, 58%, 32%) |
| HSV | hsv(58, 73%, 51%) |
| CMYK | cmyk(0%, 2.3%, 73.1%, 49%) |
| CIE-LAB | lab(51.89, -10.37, 47.61) |
| CIE-LCH | lch(51.89, 48.72, 102.29°) |
| OKLab | oklab(58.17% -0.0333 0.1056) |
| OKLCH | oklch(58.17% 0.111 107.5) |
| XYZ | xyz(17.0993, 20.0465, 4.5584) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.78
Shit Green
#758000
ΔE00 4.40
Poop Green
#6F7C00
ΔE00 5.26
Drab
#828344
ΔE00 5.33
Olive (survey)
#6E750E
ΔE00 5.54
Swamp Green
#748500
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#827F23 #232682
analogous
#824F23 #827F23 #568223
triadic
#827F23 #23827F #7F2382
tetradic
#827F23 #23824F #232682 #822356
square
#827F23 #23824F #232682 #822356
split-complementary
#827F23 #235682 #4F2382
monochromatic
#222109 #525016 #827F23 #B2AE30 #D0CC50
Accessibility & contrast
On white
4.19
#827F23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#827F23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #827F23
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##827F23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##827F23 | 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)
#8A7A13
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#8C766D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #827f23; /* rgb */ color: rgb(130, 127, 35); /* oklch */ color: oklch(58.2% 0.111 107.5);
Tailwind
colors: {
custom: {
50: '#a9a365',
500: '#827f23',
950: '#000000',
},
}SCSS
$custom: #827f23; $custom-light: #a9a365; $custom-dark: #000000;
JSON
{
"hex": "#827f23",
"rgb": {
"r": 130,
"g": 127,
"b": 35
},
"hsl": {
"h": 58.105,
"s": 57.576,
"l": 32.353
},
"oklch": {
"l": 0.5817,
"c": 0.11075,
"h": 107.5
},
"luminance": 0.20046
}Semantic roles & 50–950 ramp
primary
#827F23
secondary
#4D51B3
accent
#4CE147
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A