#7C792A#7C792A
#7C792A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.100 H 107.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7C792A |
|---|---|
| RGB | rgb(124, 121, 42) |
| HSL | hsl(58, 49%, 33%) |
| HSV | hsv(58, 66%, 49%) |
| CMYK | cmyk(0%, 2.4%, 66.1%, 51.4%) |
| CIE-LAB | lab(49.65, -9.41, 42.20) |
| CIE-LCH | lch(49.65, 43.24, 102.56°) |
| OKLab | oklab(56.27% -0.0295 0.0956) |
| OKLCH | oklch(56.27% 0.1 107.1) |
| XYZ | xyz(15.5680, 18.1275, 4.8689) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.37
Olive (survey)
#6E750E
ΔE00 4.38
Olive
#808000
ΔE00 5.05
Drab
#828344
ΔE00 5.06
Ugly Brown
#7D7103
ΔE00 5.12
Brown Green
#706C11
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C792A #2A2D7C
analogous
#7C502A #7C792A #567C2A
triadic
#7C792A #2A7C79 #792A7C
tetradic
#7C792A #2A7C50 #2A2D7C #7C2A56
square
#7C792A #2A7C50 #2A2D7C #7C2A56
split-complementary
#7C792A #2A567C #502A7C
monochromatic
#21200B #4E4C1B #7C792A #AAA639 #C7C359
Accessibility & contrast
On white
4.54
#7C792A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#7C792A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C792A
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C792A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C792A | 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)
#837420
Deuteranopia (green-blind)
#85772F
Tritanopia (blue-blind)
#857169
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c792a; /* rgb */ color: rgb(124, 121, 42); /* oklch */ color: oklch(56.3% 0.100 107.1);
Tailwind
colors: {
custom: {
50: '#a49f68',
500: '#7c792a',
950: '#000000',
},
}SCSS
$custom: #7c792a; $custom-light: #a49f68; $custom-dark: #000000;
JSON
{
"hex": "#7c792a",
"rgb": {
"r": 124,
"g": 121,
"b": 42
},
"hsl": {
"h": 57.805,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.56271,
"c": 0.10008,
"h": 107.1
},
"luminance": 0.18127
}Semantic roles & 50–950 ramp
primary
#7C792A
secondary
#5558AD
accent
#54D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A