#7D7916#7D7916
#7D7916 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.113 H 107.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7916 |
|---|---|
| RGB | rgb(125, 121, 22) |
| HSL | hsl(58, 70%, 29%) |
| HSV | hsv(58, 82%, 49%) |
| CMYK | cmyk(0%, 3.2%, 82.4%, 51%) |
| CIE-LAB | lab(49.61, -9.98, 49.91) |
| CIE-LCH | lch(49.61, 50.89, 101.31°) |
| OKLab | oklab(56.22% -0.0332 0.1081) |
| OKLCH | oklch(56.22% 0.113 107.1) |
| XYZ | xyz(15.4403, 18.0932, 3.4379) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.21
Ugly Brown
#7D7103
ΔE00 3.72
Olive (survey)
#6E750E
ΔE00 4.05
Shit Green
#758000
ΔE00 4.61
Poop Green
#6F7C00
ΔE00 4.80
Brown Green
#706C11
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7916 #161A7D
analogous
#7D4616 #7D7916 #4E7D16
triadic
#7D7916 #167D79 #79167D
tetradic
#7D7916 #167D46 #161A7D #7D164E
square
#7D7916 #167D46 #161A7D #7D164E
split-complementary
#7D7916 #164E7D #46167D
monochromatic
#1A1905 #49470D #7D7916 #B1AB1F #DBD432
Accessibility & contrast
On white
4.55
#7D7916 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7D7916 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7916
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7916 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7916 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d7916; /* rgb */ color: rgb(125, 121, 22); /* oklch */ color: oklch(56.2% 0.113 107.1);
Tailwind
colors: {
custom: {
50: '#a69f5e',
500: '#7d7916',
950: '#000000',
},
}SCSS
$custom: #7d7916; $custom-light: #a69f5e; $custom-dark: #000000;
JSON
{
"hex": "#7d7916",
"rgb": {
"r": 125,
"g": 121,
"b": 22
},
"hsl": {
"h": 57.67,
"s": 70.068,
"l": 28.824
},
"oklch": {
"l": 0.56218,
"c": 0.11312,
"h": 107.1
},
"luminance": 0.18093
}Semantic roles & 50–950 ramp
primary
#7D7916
secondary
#3D41B2
accent
#42ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79