#7F7B22#7F7B22
#7F7B22 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.108 H 106.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7B22 |
|---|---|
| RGB | rgb(127, 123, 34) |
| HSL | hsl(57, 58%, 32%) |
| HSV | hsv(57, 73%, 50%) |
| CMYK | cmyk(0%, 3.1%, 73.2%, 50.2%) |
| CIE-LAB | lab(50.45, -9.61, 46.50) |
| CIE-LCH | lch(50.45, 47.48, 101.68°) |
| OKLab | oklab(56.95% -0.0311 0.1032) |
| OKLCH | oklch(56.95% 0.108 106.8) |
| XYZ | xyz(16.1247, 18.7940, 4.2913) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.52
Olive (survey)
#6E750E
ΔE00 4.62
Ugly Brown
#7D7103
ΔE00 4.66
Shit Green
#758000
ΔE00 4.83
Poop Green
#6F7C00
ΔE00 5.17
Murky Green
#6C7A0E
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7B22 #22267F
analogous
#7F4D22 #7F7B22 #557F22
triadic
#7F7B22 #227F7B #7B227F
tetradic
#7F7B22 #227F4D #22267F #7F2255
square
#7F7B22 #227F4D #22267F #7F2255
split-complementary
#7F7B22 #22557F #4D227F
monochromatic
#1E1D08 #4F4C15 #7F7B22 #AFAA2F #CFCA4C
Accessibility & contrast
On white
4.41
#7F7B22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#7F7B22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7B22
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7B22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7B22 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#89736A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f7b22; /* rgb */ color: rgb(127, 123, 34); /* oklch */ color: oklch(57.0% 0.108 106.8);
Tailwind
colors: {
custom: {
50: '#a7a064',
500: '#7f7b22',
950: '#000000',
},
}SCSS
$custom: #7f7b22; $custom-light: #a7a064; $custom-dark: #000000;
JSON
{
"hex": "#7f7b22",
"rgb": {
"r": 127,
"g": 123,
"b": 34
},
"hsl": {
"h": 57.419,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.5695,
"c": 0.10779,
"h": 106.8
},
"luminance": 0.18793
}Semantic roles & 50–950 ramp
primary
#7F7B22
secondary
#4B50B2
accent
#4DE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A