#7F7916#7F7916
#7F7916 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.113 H 105.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7916 |
|---|---|
| RGB | rgb(127, 121, 22) |
| HSL | hsl(57, 70%, 29%) |
| HSV | hsv(57, 83%, 50%) |
| CMYK | cmyk(0%, 4.7%, 82.7%, 50.2%) |
| CIE-LAB | lab(49.79, -9.04, 50.14) |
| CIE-LCH | lch(49.79, 50.95, 100.22°) |
| OKLab | oklab(56.41% -0.0307 0.1086) |
| OKLCH | oklch(56.41% 0.113 105.8) |
| XYZ | xyz(15.7353, 18.2453, 3.4517) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.32
Ugly Brown
#7D7103
ΔE00 3.41
Olive (survey)
#6E750E
ΔE00 4.66
Shit Green
#758000
ΔE00 5.11
Brown Green
#706C11
ΔE00 5.28
Browny Green
#6F6C0A
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7916 #161C7F
analogous
#7F4416 #7F7916 #517F16
triadic
#7F7916 #167F79 #79167F
tetradic
#7F7916 #167F44 #161C7F #7F1651
square
#7F7916 #167F44 #161C7F #7F1651
split-complementary
#7F7916 #16517F #44167F
monochromatic
#1A1905 #4B470D #7F7916 #B3AB1F #DCD234
Accessibility & contrast
On white
4.52
#7F7916 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7F7916 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7916
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7916 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7916 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#87781F
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f7916; /* rgb */ color: rgb(127, 121, 22); /* oklch */ color: oklch(56.4% 0.113 105.8);
Tailwind
colors: {
custom: {
50: '#a89f5e',
500: '#7f7916',
950: '#000000',
},
}SCSS
$custom: #7f7916; $custom-light: #a89f5e; $custom-dark: #000000;
JSON
{
"hex": "#7f7916",
"rgb": {
"r": 127,
"g": 121,
"b": 22
},
"hsl": {
"h": 56.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.56408,
"c": 0.11281,
"h": 105.8
},
"luminance": 0.18245
}Semantic roles & 50–950 ramp
primary
#7F7916
secondary
#3D44B4
accent
#45ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79