#7F792B#7F792B
#7F792B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.099 H 104.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F792B |
|---|---|
| RGB | rgb(127, 121, 43) |
| HSL | hsl(56, 49%, 33%) |
| HSV | hsv(56, 66%, 50%) |
| CMYK | cmyk(0%, 4.7%, 66.1%, 50.2%) |
| CIE-LAB | lab(49.93, -7.96, 42.13) |
| CIE-LCH | lch(49.93, 42.87, 100.70°) |
| OKLab | oklab(56.56% -0.0254 0.0956) |
| OKLCH | oklch(56.56% 0.099 104.9) |
| XYZ | xyz(16.0264, 18.3618, 4.9850) |
| Luminance | 0.1836 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.76
Olive
#808000
ΔE00 5.19
Drab
#828344
ΔE00 5.19
Olive Drab
#6F7632
ΔE00 5.20
Olive (survey)
#6E750E
ΔE00 5.20
Brown Green
#706C11
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F792B #2B317F
analogous
#7F4F2B #7F792B #5B7F2B
triadic
#7F792B #2B7F79 #792B7F
tetradic
#7F792B #2B7F4F #2B317F #7F2B5B
square
#7F792B #2B7F4F #2B317F #7F2B5B
split-complementary
#7F792B #2B5B7F #4F2B7F
monochromatic
#24220C #514D1C #7F792B #ADA53A #C8C05C
Accessibility & contrast
On white
4.49
#7F792B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#7F792B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F792B
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F792B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F792B | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 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)
#837521
Deuteranopia (green-blind)
#867830
Tritanopia (blue-blind)
#887169
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f792b; /* rgb */ color: rgb(127, 121, 43); /* oklch */ color: oklch(56.6% 0.099 104.9);
Tailwind
colors: {
custom: {
50: '#a79f68',
500: '#7f792b',
950: '#000000',
},
}SCSS
$custom: #7f792b; $custom-light: #a79f68; $custom-dark: #000000;
JSON
{
"hex": "#7f792b",
"rgb": {
"r": 127,
"g": 121,
"b": 43
},
"hsl": {
"h": 55.714,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.56564,
"c": 0.09889,
"h": 104.9
},
"luminance": 0.18361
}Semantic roles & 50–950 ramp
primary
#7F792B
secondary
#585EAE
accent
#59D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A