#7C8153#7C8153
#7C8153 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.7% C 0.066 H 113.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8153 |
|---|---|
| RGB | rgb(124, 129, 83) |
| HSL | hsl(67, 22%, 42%) |
| HSV | hsv(67, 36%, 51%) |
| CMYK | cmyk(3.9%, 0%, 35.7%, 49.4%) |
| CIE-LAB | lab(52.52, -9.69, 24.36) |
| CIE-LCH | lch(52.52, 26.21, 111.70°) |
| OKLab | oklab(58.73% -0.0261 0.0602) |
| OKLCH | oklch(58.73% 0.066 113.5) |
| XYZ | xyz(17.7238, 20.6103, 11.2264) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.33
Camo
#7F8F4E
ΔE00 6.28
Military Green
#667C3E
ΔE00 6.62
Olive Drab
#6F7632
ΔE00 6.90
Khaki Green
#728639
ΔE00 6.97
Swamp
#698339
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8153 #585381
analogous
#816F53 #7C8153 #658153
triadic
#7C8153 #537C81 #81537C
tetradic
#7C8153 #53816F #585381 #815365
square
#7C8153 #53816F #585381 #815365
split-complementary
#7C8153 #536581 #6F5381
monochromatic
#343723 #585C3B #7C8153 #9DA26F #B6BA94
Accessibility & contrast
On white
4.10
#7C8153 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#7C8153 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8153
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8153 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8153 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877D50
Deuteranopia (green-blind)
#877E55
Tritanopia (blue-blind)
#817C75
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7c8153; /* rgb */ color: rgb(124, 129, 83); /* oklch */ color: oklch(58.7% 0.066 113.5);
Tailwind
colors: {
custom: {
50: '#a2a584',
500: '#7c8153',
950: '#000000',
},
}SCSS
$custom: #7c8153; $custom-light: #a2a584; $custom-dark: #000000;
JSON
{
"hex": "#7c8153",
"rgb": {
"r": 124,
"g": 129,
"b": 83
},
"hsl": {
"h": 66.522,
"s": 21.698,
"l": 41.569
},
"oklch": {
"l": 0.58728,
"c": 0.06562,
"h": 113.5
},
"luminance": 0.2061
}Semantic roles & 50–950 ramp
primary
#7C8153
secondary
#8C88A8
accent
#6ABE73
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0B
muted
#7F7F7C