#7C7F1F#7C7F1F
#7C7F1F is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.115 H 111.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7F1F |
|---|---|
| RGB | rgb(124, 127, 31) |
| HSL | hsl(62, 61%, 31%) |
| HSV | hsv(62, 76%, 50%) |
| CMYK | cmyk(2.4%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(51.34, -13.32, 48.41) |
| CIE-LCH | lch(51.34, 50.21, 105.39°) |
| OKLab | oklab(57.59% -0.0417 0.1068) |
| OKLCH | oklch(57.59% 0.115 111.3) |
| XYZ | xyz(16.1494, 19.5632, 4.2214) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.78
Shit Green
#758000
ΔE00 2.82
Poop Green
#6F7C00
ΔE00 3.57
Murky Green
#6C7A0E
ΔE00 4.09
Swamp Green
#748500
ΔE00 4.20
Olive (survey)
#6E750E
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7F1F #221F7F
analogous
#7F521F #7C7F1F #4C7F1F
triadic
#7C7F1F #1F7C7F #7F1F7C
tetradic
#7C7F1F #1F7F52 #221F7F #7F1F4C
square
#7C7F1F #1F7F52 #221F7F #7F1F4C
split-complementary
#7C7F1F #1F4C7F #521F7F
monochromatic
#1C1D07 #4C4E13 #7C7F1F #ACB02B #CED246
Accessibility & contrast
On white
4.27
#7C7F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#7C7F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7F1F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7F1F | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89790B
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#85776D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7c7f1f; /* rgb */ color: rgb(124, 127, 31); /* oklch */ color: oklch(57.6% 0.115 111.3);
Tailwind
colors: {
custom: {
50: '#a5a363',
500: '#7c7f1f',
950: '#000000',
},
}SCSS
$custom: #7c7f1f; $custom-light: #a5a363; $custom-dark: #000000;
JSON
{
"hex": "#7c7f1f",
"rgb": {
"r": 124,
"g": 127,
"b": 31
},
"hsl": {
"h": 61.875,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.57594,
"c": 0.11461,
"h": 111.3
},
"luminance": 0.19563
}Semantic roles & 50–950 ramp
primary
#7C7F1F
secondary
#4B48B2
accent
#44E449
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A