#7F7C16#7F7C16
#7F7C16 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.116 H 107.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7C16 |
|---|---|
| RGB | rgb(127, 124, 22) |
| HSL | hsl(58, 70%, 29%) |
| HSV | hsv(58, 83%, 50%) |
| CMYK | cmyk(0%, 2.4%, 82.7%, 50.2%) |
| CIE-LAB | lab(50.67, -10.69, 50.91) |
| CIE-LCH | lch(50.67, 52.02, 101.86°) |
| OKLab | oklab(57.11% -0.0353 0.1102) |
| OKLCH | oklch(57.11% 0.116 107.8) |
| XYZ | xyz(16.1055, 18.9858, 3.5752) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.20
Shit Green
#758000
ΔE00 4.00
Olive (survey)
#6E750E
ΔE00 4.59
Poop Green
#6F7C00
ΔE00 4.61
Ugly Brown
#7D7103
ΔE00 4.67
Murky Green
#6C7A0E
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7C16 #16197F
analogous
#7F4816 #7F7C16 #4E7F16
triadic
#7F7C16 #167F7C #7C167F
tetradic
#7F7C16 #167F48 #16197F #7F164E
square
#7F7C16 #167F48 #16197F #7F164E
split-complementary
#7F7C16 #164E7F #48167F
monochromatic
#1A1905 #4B490D #7F7C16 #B3AF1F #DCD734
Accessibility & contrast
On white
4.38
#7F7C16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7F7C16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7C16
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7C16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7C16 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#89736A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7c16; /* rgb */ color: rgb(127, 124, 22); /* oklch */ color: oklch(57.1% 0.116 107.8);
Tailwind
colors: {
custom: {
50: '#a8a15e',
500: '#7f7c16',
950: '#000000',
},
}SCSS
$custom: #7f7c16; $custom-light: #a8a15e; $custom-dark: #000000;
JSON
{
"hex": "#7f7c16",
"rgb": {
"r": 127,
"g": 124,
"b": 22
},
"hsl": {
"h": 58.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.57109,
"c": 0.11572,
"h": 107.8
},
"luminance": 0.18985
}Semantic roles & 50–950 ramp
primary
#7F7C16
secondary
#3D40B4
accent
#40ED3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79