#7F791C#7F791C
#7F791C is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.110 H 105.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F791C |
|---|---|
| RGB | rgb(127, 121, 28) |
| HSL | hsl(56, 64%, 30%) |
| HSV | hsv(56, 78%, 50%) |
| CMYK | cmyk(0%, 4.7%, 78%, 50.2%) |
| CIE-LAB | lab(49.82, -8.80, 48.17) |
| CIE-LCH | lch(49.82, 48.97, 100.35°) |
| OKLab | oklab(56.44% -0.0295 0.1056) |
| OKLCH | oklch(56.44% 0.11 105.6) |
| XYZ | xyz(15.8000, 18.2712, 3.7928) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.61
Olive
#808000
ΔE00 3.68
Olive (survey)
#6E750E
ΔE00 4.65
Brown Green
#706C11
ΔE00 5.21
Shit Green
#758000
ΔE00 5.28
Browny Green
#6F6C0A
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F791C #1C227F
analogous
#7F481C #7F791C #537F1C
triadic
#7F791C #1C7F79 #791C7F
tetradic
#7F791C #1C7F48 #1C227F #7F1C53
square
#7F791C #1C7F48 #1C227F #7F1C53
split-complementary
#7F791C #1C537F #481C7F
monochromatic
#1B1906 #4D4911 #7F791C #B1A927 #D5CC40
Accessibility & contrast
On white
4.51
#7F791C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7F791C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F791C
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F791C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F791C | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847407
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f791c; /* rgb */ color: rgb(127, 121, 28); /* oklch */ color: oklch(56.4% 0.110 105.6);
Tailwind
colors: {
custom: {
50: '#a79f60',
500: '#7f791c',
950: '#000000',
},
}SCSS
$custom: #7f791c; $custom-light: #a79f60; $custom-dark: #000000;
JSON
{
"hex": "#7f791c",
"rgb": {
"r": 127,
"g": 121,
"b": 28
},
"hsl": {
"h": 56.364,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.56443,
"c": 0.10959,
"h": 105.6
},
"luminance": 0.18271
}Semantic roles & 50–950 ramp
primary
#7F791C
secondary
#444BB3
accent
#4BE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79