#7C7C3E#7C7C3E
#7C7C3E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.2% C 0.084 H 108.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7C3E |
|---|---|
| RGB | rgb(124, 124, 62) |
| HSL | hsl(60, 33%, 36%) |
| HSV | hsv(60, 50%, 49%) |
| CMYK | cmyk(0%, 0%, 50%, 51.4%) |
| CIE-LAB | lab(50.74, -9.39, 33.57) |
| CIE-LCH | lch(50.74, 34.86, 105.63°) |
| OKLab | oklab(57.21% -0.0271 0.0797) |
| OKLCH | oklch(57.21% 0.084 108.8) |
| XYZ | xyz(16.3897, 19.0486, 7.3699) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.63
Olive Drab
#6F7632
ΔE00 3.80
Khaki Green
#728639
ΔE00 6.25
Muddy Green
#657432
ΔE00 6.28
Military Green
#667C3E
ΔE00 6.78
Olive (survey)
#6E750E
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7C3E #3E3E7C
analogous
#7C5D3E #7C7C3E #5D7C3E
triadic
#7C7C3E #3E7C7C #7C3E7C
tetradic
#7C7C3E #3E7C5D #3E3E7C #7C3E5D
square
#7C7C3E #3E7C5D #3E3E7C #7C3E5D
split-complementary
#7C7C3E #3E5D7C #5D3E7C
monochromatic
#2A2A15 #53532A #7C7C3E #A5A552 #BCBC79
Accessibility & contrast
On white
4.37
#7C7C3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7C7C3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7C3E
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7C3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7C3E | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857838
Deuteranopia (green-blind)
#867A41
Tritanopia (blue-blind)
#84756E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7c3e; /* rgb */ color: rgb(124, 124, 62); /* oklch */ color: oklch(57.2% 0.084 108.8);
Tailwind
colors: {
custom: {
50: '#a3a175',
500: '#7c7c3e',
950: '#000000',
},
}SCSS
$custom: #7c7c3e; $custom-light: #a3a175; $custom-dark: #000000;
JSON
{
"hex": "#7c7c3e",
"rgb": {
"r": 124,
"g": 124,
"b": 62
},
"hsl": {
"h": 60,
"s": 33.333,
"l": 36.471
},
"oklch": {
"l": 0.57211,
"c": 0.08414,
"h": 108.8
},
"luminance": 0.19048
}Semantic roles & 50–950 ramp
primary
#7C7C3E
secondary
#7070A6
accent
#5EC95E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0F08
muted
#7F7E7B