#7C7F16#7C7F16
#7C7F16 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.119 H 111.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7F16 |
|---|---|
| RGB | rgb(124, 127, 22) |
| HSL | hsl(62, 70%, 29%) |
| HSV | hsv(62, 83%, 50%) |
| CMYK | cmyk(2.4%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(51.29, -13.71, 51.35) |
| CIE-LCH | lch(51.29, 53.15, 104.95°) |
| OKLab | oklab(57.54% -0.0435 0.1113) |
| OKLCH | oklch(57.54% 0.12 111.4) |
| XYZ | xyz(16.0469, 19.5222, 3.6818) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.97
Shit Green
#758000
ΔE00 2.32
Poop Green
#6F7C00
ΔE00 3.32
Swamp Green
#748500
ΔE00 3.90
Murky Green
#6C7A0E
ΔE00 4.12
Olive (survey)
#6E750E
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7F16 #19167F
analogous
#7F4E16 #7C7F16 #487F16
triadic
#7C7F16 #167C7F #7F167C
tetradic
#7C7F16 #167F4E #19167F #7F1648
square
#7C7F16 #167F4E #19167F #7F1648
split-complementary
#7C7F16 #16487F #4E167F
monochromatic
#191A05 #494B0D #7C7F16 #AFB31F #D7DC34
Accessibility & contrast
On white
4.28
#7C7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7C7F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7F16
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7F16 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#85776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7c7f16; /* rgb */ color: rgb(124, 127, 22); /* oklch */ color: oklch(57.5% 0.119 111.4);
Tailwind
colors: {
custom: {
50: '#a5a35f',
500: '#7c7f16',
950: '#000000',
},
}SCSS
$custom: #7c7f16; $custom-light: #a5a35f; $custom-dark: #000000;
JSON
{
"hex": "#7c7f16",
"rgb": {
"r": 124,
"g": 127,
"b": 22
},
"hsl": {
"h": 61.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.57542,
"c": 0.1195,
"h": 111.4
},
"luminance": 0.19522
}Semantic roles & 50–950 ramp
primary
#7C7F16
secondary
#403DB4
accent
#3BED40
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79