#7D7F16#7D7F16
#7D7F16 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.119 H 110.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7F16 |
|---|---|
| RGB | rgb(125, 127, 22) |
| HSL | hsl(61, 70%, 29%) |
| HSV | hsv(61, 83%, 50%) |
| CMYK | cmyk(1.6%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(51.38, -13.25, 51.46) |
| CIE-LCH | lch(51.38, 53.13, 104.44°) |
| OKLab | oklab(57.63% -0.0423 0.1115) |
| OKLCH | oklch(57.63% 0.119 110.8) |
| XYZ | xyz(16.1922, 19.5971, 3.6886) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.77
Shit Green
#758000
ΔE00 2.57
Poop Green
#6F7C00
ΔE00 3.59
Swamp Green
#748500
ΔE00 4.13
Murky Green
#6C7A0E
ΔE00 4.40
Olive (survey)
#6E750E
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7F16 #18167F
analogous
#7F4D16 #7D7F16 #497F16
triadic
#7D7F16 #167D7F #7F167D
tetradic
#7D7F16 #167F4D #18167F #7F1649
square
#7D7F16 #167F4D #18167F #7F1649
split-complementary
#7D7F16 #16497F #4D167F
monochromatic
#1A1A05 #4A4B0D #7D7F16 #B0B31F #D9DC34
Accessibility & contrast
On white
4.27
#7D7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7D7F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7F16
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7F16 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C20
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7f16; /* rgb */ color: rgb(125, 127, 22); /* oklch */ color: oklch(57.6% 0.119 110.8);
Tailwind
colors: {
custom: {
50: '#a6a35f',
500: '#7d7f16',
950: '#000000',
},
}SCSS
$custom: #7d7f16; $custom-light: #a6a35f; $custom-dark: #000000;
JSON
{
"hex": "#7d7f16",
"rgb": {
"r": 125,
"g": 127,
"b": 22
},
"hsl": {
"h": 61.143,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.57631,
"c": 0.11924,
"h": 110.8
},
"luminance": 0.19597
}Semantic roles & 50–950 ramp
primary
#7D7F16
secondary
#3F3DB4
accent
#3BED3E
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79