#7C7F18#7C7F18
#7C7F18 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.119 H 111.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7F18 |
|---|---|
| RGB | rgb(124, 127, 24) |
| HSL | hsl(62, 68%, 30%) |
| HSV | hsv(62, 81%, 50%) |
| CMYK | cmyk(2.4%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(51.30, -13.63, 50.75) |
| CIE-LCH | lch(51.30, 52.55, 105.03°) |
| OKLab | oklab(57.55% -0.0431 0.1104) |
| OKLCH | oklch(57.55% 0.119 111.3) |
| XYZ | xyz(16.0670, 19.5302, 3.7873) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.12
Shit Green
#758000
ΔE00 2.40
Poop Green
#6F7C00
ΔE00 3.35
Swamp Green
#748500
ΔE00 3.94
Murky Green
#6C7A0E
ΔE00 4.10
Olive (survey)
#6E750E
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7F18 #1B187F
analogous
#7F4F18 #7C7F18 #487F18
triadic
#7C7F18 #187C7F #7F187C
tetradic
#7C7F18 #187F4F #1B187F #7F1848
square
#7C7F18 #187F4F #1B187F #7F1848
split-complementary
#7C7F18 #18487F #4F187F
monochromatic
#191A05 #4A4C0E #7C7F18 #AEB222 #D5D938
Accessibility & contrast
On white
4.28
#7C7F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#7C7F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7F18
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7F18 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 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)
#8A7900
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#85776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7c7f18; /* rgb */ color: rgb(124, 127, 24); /* oklch */ color: oklch(57.6% 0.119 111.3);
Tailwind
colors: {
custom: {
50: '#a5a35f',
500: '#7c7f18',
950: '#000000',
},
}SCSS
$custom: #7c7f18; $custom-light: #a5a35f; $custom-dark: #000000;
JSON
{
"hex": "#7c7f18",
"rgb": {
"r": 124,
"g": 127,
"b": 24
},
"hsl": {
"h": 61.748,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.57552,
"c": 0.11853,
"h": 111.3
},
"luminance": 0.1953
}Semantic roles & 50–950 ramp
primary
#7C7F18
secondary
#433FB3
accent
#3DEB42
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79