#7F7E22#7F7E22
#7F7E22 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.111 H 108.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7E22 |
|---|---|
| RGB | rgb(127, 126, 34) |
| HSL | hsl(59, 58%, 32%) |
| HSV | hsv(59, 73%, 50%) |
| CMYK | cmyk(0%, 0.8%, 73.2%, 50.2%) |
| CIE-LAB | lab(51.32, -11.25, 47.35) |
| CIE-LCH | lch(51.32, 48.67, 103.37°) |
| OKLab | oklab(57.65% -0.0357 0.105) |
| OKLCH | oklch(57.65% 0.111 108.8) |
| XYZ | xyz(16.5026, 19.5497, 4.4172) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.85
Shit Green
#758000
ΔE00 3.88
Poop Green
#6F7C00
ΔE00 4.56
Olive (survey)
#6E750E
ΔE00 4.77
Murky Green
#6C7A0E
ΔE00 5.00
Drab
#828344
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7E22 #22237F
analogous
#7F5022 #7F7E22 #527F22
triadic
#7F7E22 #227F7E #7E227F
tetradic
#7F7E22 #227F50 #22237F #7F2252
square
#7F7E22 #227F50 #22237F #7F2252
split-complementary
#7F7E22 #22527F #50227F
monochromatic
#1E1E08 #4F4E15 #7F7E22 #AFAE2F #CFCE4C
Accessibility & contrast
On white
4.28
#7F7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#7F7E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7E22
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7E22 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#88766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7f7e22; /* rgb */ color: rgb(127, 126, 34); /* oklch */ color: oklch(57.7% 0.111 108.8);
Tailwind
colors: {
custom: {
50: '#a7a364',
500: '#7f7e22',
950: '#000000',
},
}SCSS
$custom: #7f7e22; $custom-light: #a7a364; $custom-dark: #000000;
JSON
{
"hex": "#7f7e22",
"rgb": {
"r": 127,
"g": 126,
"b": 34
},
"hsl": {
"h": 59.355,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.57652,
"c": 0.11092,
"h": 108.8
},
"luminance": 0.19549
}Semantic roles & 50–950 ramp
primary
#7F7E22
secondary
#4B4CB2
accent
#48E147
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A