#7F791F#7F791F
#7F791F 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 | #7F791F |
|---|---|
| RGB | rgb(127, 121, 31) |
| HSL | hsl(56, 61%, 31%) |
| HSV | hsv(56, 76%, 50%) |
| CMYK | cmyk(0%, 4.7%, 75.6%, 50.2%) |
| CIE-LAB | lab(49.84, -8.66, 47.08) |
| CIE-LCH | lch(49.84, 47.87, 100.42°) |
| OKLab | oklab(56.46% -0.0288 0.1038) |
| OKLCH | oklch(56.46% 0.108 105.5) |
| XYZ | xyz(15.8377, 18.2863, 3.9914) |
| Luminance | 0.1829 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.76
Olive
#808000
ΔE00 3.91
Olive (survey)
#6E750E
ΔE00 4.68
Brown Green
#706C11
ΔE00 5.20
Browny Green
#6F6C0A
ΔE00 5.35
Shit Green
#758000
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F791F #1F257F
analogous
#7F491F #7F791F #557F1F
triadic
#7F791F #1F7F79 #791F7F
tetradic
#7F791F #1F7F49 #1F257F #7F1F55
square
#7F791F #1F7F49 #1F257F #7F1F55
split-complementary
#7F791F #1F557F #491F7F
monochromatic
#1D1B07 #4E4A13 #7F791F #B0A82B #D2C946
Accessibility & contrast
On white
4.51
#7F791F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#7F791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F791F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F791F | 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)
#84740E
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#897068
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f791f; /* rgb */ color: rgb(127, 121, 31); /* oklch */ color: oklch(56.5% 0.108 105.5);
Tailwind
colors: {
custom: {
50: '#a79f62',
500: '#7f791f',
950: '#000000',
},
}SCSS
$custom: #7f791f; $custom-light: #a79f62; $custom-dark: #000000;
JSON
{
"hex": "#7f791f",
"rgb": {
"r": 127,
"g": 121,
"b": 31
},
"hsl": {
"h": 56.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.56463,
"c": 0.10775,
"h": 105.5
},
"luminance": 0.18286
}Semantic roles & 50–950 ramp
primary
#7F791F
secondary
#484EB2
accent
#4EE444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A