#7F7F16#7F7F16
#7F7F16 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.119 H 109.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7F16 |
|---|---|
| RGB | rgb(127, 127, 22) |
| HSL | hsl(60, 70%, 29%) |
| HSV | hsv(60, 83%, 50%) |
| CMYK | cmyk(0%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(51.55, -12.32, 51.68) |
| CIE-LCH | lch(51.55, 53.12, 103.41°) |
| OKLab | oklab(57.81% -0.0398 0.1119) |
| OKLCH | oklch(57.81% 0.119 109.6) |
| XYZ | xyz(16.4872, 19.7492, 3.7024) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.50
Shit Green
#758000
ΔE00 3.10
Poop Green
#6F7C00
ΔE00 4.14
Swamp Green
#748500
ΔE00 4.61
Olive (survey)
#6E750E
ΔE00 4.92
Murky Green
#6C7A0E
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7F16 #16167F
analogous
#7F4B16 #7F7F16 #4B7F16
triadic
#7F7F16 #167F7F #7F167F
tetradic
#7F7F16 #167F4B #16167F #7F164B
square
#7F7F16 #167F4B #16167F #7F164B
split-complementary
#7F7F16 #164B7F #4B167F
monochromatic
#1A1A05 #4B4B0D #7F7F16 #B3B31F #DCDC34
Accessibility & contrast
On white
4.24
#7F7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7F7F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7F16
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7F16 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f7f16; /* rgb */ color: rgb(127, 127, 22); /* oklch */ color: oklch(57.8% 0.119 109.6);
Tailwind
colors: {
custom: {
50: '#a8a35f',
500: '#7f7f16',
950: '#000000',
},
}SCSS
$custom: #7f7f16; $custom-light: #a8a35f; $custom-dark: #000000;
JSON
{
"hex": "#7f7f16",
"rgb": {
"r": 127,
"g": 127,
"b": 22
},
"hsl": {
"h": 60,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.57813,
"c": 0.11874,
"h": 109.6
},
"luminance": 0.19749
}Semantic roles & 50–950 ramp
primary
#7F7F16
secondary
#3D3DB4
accent
#3BED3B
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79