#7C7D1F#7C7D1F
#7C7D1F is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.112 H 110.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7D1F |
|---|---|
| RGB | rgb(124, 125, 31) |
| HSL | hsl(61, 60%, 31%) |
| HSV | hsv(61, 75%, 49%) |
| CMYK | cmyk(0.8%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(50.75, -12.24, 47.85) |
| CIE-LCH | lch(50.75, 49.39, 104.35°) |
| OKLab | oklab(57.12% -0.0386 0.1056) |
| OKLCH | oklch(57.12% 0.112 110.1) |
| XYZ | xyz(15.8937, 19.0517, 4.1362) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.92
Shit Green
#758000
ΔE00 3.34
Poop Green
#6F7C00
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 4.00
Murky Green
#6C7A0E
ΔE00 4.20
Swamp Green
#748500
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7D1F #201F7D
analogous
#7D4F1F #7C7D1F #4D7D1F
triadic
#7C7D1F #1F7C7D #7D1F7C
tetradic
#7C7D1F #1F7D4F #201F7D #7D1F4D
square
#7C7D1F #1F7D4F #201F7D #7D1F4D
split-complementary
#7C7D1F #1F4D7D #4F1F7D
monochromatic
#1B1B07 #4B4C13 #7C7D1F #ADAE2B #CFD145
Accessibility & contrast
On white
4.37
#7C7D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7C7D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7D1F
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7D1F | 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)
#87770C
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7d1f; /* rgb */ color: rgb(124, 125, 31); /* oklch */ color: oklch(57.1% 0.112 110.1);
Tailwind
colors: {
custom: {
50: '#a5a262',
500: '#7c7d1f',
950: '#000000',
},
}SCSS
$custom: #7c7d1f; $custom-light: #a5a262; $custom-dark: #000000;
JSON
{
"hex": "#7c7d1f",
"rgb": {
"r": 124,
"g": 125,
"b": 31
},
"hsl": {
"h": 60.638,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.57121,
"c": 0.11243,
"h": 110.1
},
"luminance": 0.19051
}Semantic roles & 50–950 ramp
primary
#7C7D1F
secondary
#4948B0
accent
#44E346
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A