#7F791E#7F791E
#7F791E is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.108 H 105.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F791E |
|---|---|
| RGB | rgb(127, 121, 30) |
| HSL | hsl(56, 62%, 31%) |
| HSV | hsv(56, 76%, 50%) |
| CMYK | cmyk(0%, 4.7%, 76.4%, 50.2%) |
| CIE-LAB | lab(49.84, -8.71, 47.45) |
| CIE-LCH | lch(49.84, 48.24, 100.40°) |
| OKLab | oklab(56.46% -0.029 0.1044) |
| OKLCH | oklch(56.46% 0.108 105.5) |
| XYZ | xyz(15.8248, 18.2811, 3.9231) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.71
Olive
#808000
ΔE00 3.83
Olive (survey)
#6E750E
ΔE00 4.67
Brown Green
#706C11
ΔE00 5.20
Browny Green
#6F6C0A
ΔE00 5.34
Shit Green
#758000
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F791E #1E247F
analogous
#7F481E #7F791E #547F1E
triadic
#7F791E #1E7F79 #791E7F
tetradic
#7F791E #1E7F48 #1E247F #7F1E54
square
#7F791E #1E7F48 #1E247F #7F1E54
split-complementary
#7F791E #1E547F #481E7F
monochromatic
#1C1B07 #4D4A12 #7F791E #B1A82A #D3CA44
Accessibility & contrast
On white
4.51
#7F791E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#7F791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F791E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F791E | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#897068
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f791e; /* rgb */ color: rgb(127, 121, 30); /* oklch */ color: oklch(56.5% 0.108 105.5);
Tailwind
colors: {
custom: {
50: '#a79f61',
500: '#7f791e',
950: '#000000',
},
}SCSS
$custom: #7f791e; $custom-light: #a79f61; $custom-dark: #000000;
JSON
{
"hex": "#7f791e",
"rgb": {
"r": 127,
"g": 121,
"b": 30
},
"hsl": {
"h": 56.289,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.56456,
"c": 0.10839,
"h": 105.5
},
"luminance": 0.18281
}Semantic roles & 50–950 ramp
primary
#7F791E
secondary
#474DB2
accent
#4DE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A