#7F791D#7F791D
#7F791D is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.109 H 105.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F791D |
|---|---|
| RGB | rgb(127, 121, 29) |
| HSL | hsl(56, 63%, 31%) |
| HSV | hsv(56, 77%, 50%) |
| CMYK | cmyk(0%, 4.7%, 77.2%, 50.2%) |
| CIE-LAB | lab(49.83, -8.75, 47.82) |
| CIE-LCH | lch(49.83, 48.61, 100.38°) |
| OKLab | oklab(56.45% -0.0292 0.105) |
| OKLCH | oklch(56.45% 0.109 105.6) |
| XYZ | xyz(15.8122, 18.2761, 3.8569) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.66
Olive
#808000
ΔE00 3.75
Olive (survey)
#6E750E
ΔE00 4.66
Brown Green
#706C11
ΔE00 5.21
Shit Green
#758000
ΔE00 5.32
Browny Green
#6F6C0A
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F791D #1D237F
analogous
#7F481D #7F791D #547F1D
triadic
#7F791D #1D7F79 #791D7F
tetradic
#7F791D #1D7F48 #1D237F #7F1D54
square
#7F791D #1D7F48 #1D237F #7F1D54
split-complementary
#7F791D #1D547F #481D7F
monochromatic
#1B1A06 #4D4A12 #7F791D #B1A828 #D4CB42
Accessibility & contrast
On white
4.51
#7F791D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#7F791D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F791D
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F791D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F791D | 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)
#84740A
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f791d; /* rgb */ color: rgb(127, 121, 29); /* oklch */ color: oklch(56.4% 0.109 105.6);
Tailwind
colors: {
custom: {
50: '#a79f61',
500: '#7f791d',
950: '#000000',
},
}SCSS
$custom: #7f791d; $custom-light: #a79f61; $custom-dark: #000000;
JSON
{
"hex": "#7f791d",
"rgb": {
"r": 127,
"g": 121,
"b": 29
},
"hsl": {
"h": 56.327,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.56449,
"c": 0.109,
"h": 105.6
},
"luminance": 0.18275
}Semantic roles & 50–950 ramp
primary
#7F791D
secondary
#454CB2
accent
#4CE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79