#7C792D#7C792D
#7C792D is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.098 H 107.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7C792D |
|---|---|
| RGB | rgb(124, 121, 45) |
| HSL | hsl(58, 47%, 33%) |
| HSV | hsv(58, 64%, 49%) |
| CMYK | cmyk(0%, 2.4%, 63.7%, 51.4%) |
| CIE-LAB | lab(49.68, -9.20, 40.85) |
| CIE-LCH | lch(49.68, 41.87, 102.69°) |
| OKLab | oklab(56.3% -0.0285 0.0933) |
| OKLCH | oklch(56.3% 0.098 107) |
| XYZ | xyz(15.6237, 18.1498, 5.1624) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.14
Olive (survey)
#6E750E
ΔE00 4.65
Drab
#828344
ΔE00 4.76
Brown Green
#706C11
ΔE00 5.42
Ugly Brown
#7D7103
ΔE00 5.44
Olive
#808000
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C792D #2D307C
analogous
#7C512D #7C792D #577C2D
triadic
#7C792D #2D7C79 #792D7C
tetradic
#7C792D #2D7C51 #2D307C #7C2D57
square
#7C792D #2D7C51 #2D307C #7C2D57
split-complementary
#7C792D #2D577C #512D7C
monochromatic
#22210C #4F4D1D #7C792D #A9A53D #C5C15F
Accessibility & contrast
On white
4.54
#7C792D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#7C792D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C792D
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C792D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C792D | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837424
Deuteranopia (green-blind)
#847831
Tritanopia (blue-blind)
#857169
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c792d; /* rgb */ color: rgb(124, 121, 45); /* oklch */ color: oklch(56.3% 0.098 107.0);
Tailwind
colors: {
custom: {
50: '#a49f6a',
500: '#7c792d',
950: '#000000',
},
}SCSS
$custom: #7c792d; $custom-light: #a49f6a; $custom-dark: #000000;
JSON
{
"hex": "#7c792d",
"rgb": {
"r": 124,
"g": 121,
"b": 45
},
"hsl": {
"h": 57.722,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.56301,
"c": 0.09752,
"h": 107
},
"luminance": 0.18149
}Semantic roles & 50–950 ramp
primary
#7C792D
secondary
#5A5DAB
accent
#56D651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A