#7F792A#7F792A
#7F792A is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.100 H 105.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F792A |
|---|---|
| RGB | rgb(127, 121, 42) |
| HSL | hsl(56, 50%, 33%) |
| HSV | hsv(56, 67%, 50%) |
| CMYK | cmyk(0%, 4.7%, 66.9%, 50.2%) |
| CIE-LAB | lab(49.92, -8.03, 42.57) |
| CIE-LCH | lch(49.92, 43.32, 100.68°) |
| OKLab | oklab(56.55% -0.0258 0.0963) |
| OKLCH | oklch(56.55% 0.1 105) |
| XYZ | xyz(16.0083, 18.3545, 4.8896) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.65
Olive
#808000
ΔE00 5.06
Olive (survey)
#6E750E
ΔE00 5.13
Olive Drab
#6F7632
ΔE00 5.27
Drab
#828344
ΔE00 5.29
Brown Green
#706C11
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F792A #2A307F
analogous
#7F4E2A #7F792A #5A7F2A
triadic
#7F792A #2A7F79 #792A7F
tetradic
#7F792A #2A7F4E #2A307F #7F2A5A
square
#7F792A #2A7F4E #2A307F #7F2A5A
split-complementary
#7F792A #2A5A7F #4E2A7F
monochromatic
#23210C #514D1B #7F792A #ADA539 #C9C15B
Accessibility & contrast
On white
4.50
#7F792A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#7F792A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F792A
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F792A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F792A | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837520
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#887169
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f792a; /* rgb */ color: rgb(127, 121, 42); /* oklch */ color: oklch(56.6% 0.100 105.0);
Tailwind
colors: {
custom: {
50: '#a79f68',
500: '#7f792a',
950: '#000000',
},
}SCSS
$custom: #7f792a; $custom-light: #a79f68; $custom-dark: #000000;
JSON
{
"hex": "#7f792a",
"rgb": {
"r": 127,
"g": 121,
"b": 42
},
"hsl": {
"h": 55.765,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.56554,
"c": 0.09972,
"h": 105
},
"luminance": 0.18354
}Semantic roles & 50–950 ramp
primary
#7F792A
secondary
#575DAE
accent
#58DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A