#7C7D1B#7C7D1B
#7C7D1B is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.115 H 110.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7D1B |
|---|---|
| RGB | rgb(124, 125, 27) |
| HSL | hsl(61, 64%, 30%) |
| HSV | hsv(61, 78%, 49%) |
| CMYK | cmyk(0.8%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(50.72, -12.43, 49.25) |
| CIE-LCH | lch(50.72, 50.80, 104.16°) |
| OKLab | oklab(57.1% -0.0395 0.1078) |
| OKLCH | oklch(57.1% 0.115 110.1) |
| XYZ | xyz(15.8442, 19.0319, 3.8756) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.53
Shit Green
#758000
ΔE00 3.10
Poop Green
#6F7C00
ΔE00 3.65
Olive (survey)
#6E750E
ΔE00 3.97
Murky Green
#6C7A0E
ΔE00 4.17
Swamp Green
#748500
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7D1B #1C1B7D
analogous
#7D4D1B #7C7D1B #4B7D1B
triadic
#7C7D1B #1B7C7D #7D1B7C
tetradic
#7C7D1B #1B7D4D #1C1B7D #7D1B4B
square
#7C7D1B #1B7D4D #1C1B7D #7D1B4B
split-complementary
#7C7D1B #1B4B7D #4D1B7D
monochromatic
#191905 #4A4B10 #7C7D1B #AEAF26 #D4D53D
Accessibility & contrast
On white
4.37
#7C7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7C7D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7D1B
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7D1B | 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)
#887703
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7d1b; /* rgb */ color: rgb(124, 125, 27); /* oklch */ color: oklch(57.1% 0.115 110.1);
Tailwind
colors: {
custom: {
50: '#a5a260',
500: '#7c7d1b',
950: '#000000',
},
}SCSS
$custom: #7c7d1b; $custom-light: #a5a260; $custom-dark: #000000;
JSON
{
"hex": "#7c7d1b",
"rgb": {
"r": 124,
"g": 125,
"b": 27
},
"hsl": {
"h": 60.612,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.57095,
"c": 0.1148,
"h": 110.1
},
"luminance": 0.19031
}Semantic roles & 50–950 ramp
primary
#7C7D1B
secondary
#4443B1
accent
#40E742
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79