#7D7C16#7D7C16
#7D7C16 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.116 H 109.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7C16 |
|---|---|
| RGB | rgb(125, 124, 22) |
| HSL | hsl(59, 70%, 29%) |
| HSV | hsv(59, 82%, 49%) |
| CMYK | cmyk(0%, 0.8%, 82.4%, 51%) |
| CIE-LAB | lab(50.49, -11.62, 50.68) |
| CIE-LCH | lch(50.49, 52.00, 102.91°) |
| OKLab | oklab(56.92% -0.0378 0.1098) |
| OKLCH | oklch(56.92% 0.116 109) |
| XYZ | xyz(15.8105, 18.8337, 3.5613) |
| Luminance | 0.1883 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.23
Shit Green
#758000
ΔE00 3.48
Poop Green
#6F7C00
ΔE00 4.01
Olive (survey)
#6E750E
ΔE00 4.09
Murky Green
#6C7A0E
ΔE00 4.62
Ugly Brown
#7D7103
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7C16 #16177D
analogous
#7D4916 #7D7C16 #4B7D16
triadic
#7D7C16 #167D7C #7C167D
tetradic
#7D7C16 #167D49 #16177D #7D164B
square
#7D7C16 #167D49 #16177D #7D164B
split-complementary
#7D7C16 #164B7D #49167D
monochromatic
#1A1A05 #49480D #7D7C16 #B1B01F #DBD932
Accessibility & contrast
On white
4.41
#7D7C16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7D7C16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7C16
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7C16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7C16 | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#887A1F
Tritanopia (blue-blind)
#87736A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d7c16; /* rgb */ color: rgb(125, 124, 22); /* oklch */ color: oklch(56.9% 0.116 109.0);
Tailwind
colors: {
custom: {
50: '#a6a15e',
500: '#7d7c16',
950: '#000000',
},
}SCSS
$custom: #7d7c16; $custom-light: #a6a15e; $custom-dark: #000000;
JSON
{
"hex": "#7d7c16",
"rgb": {
"r": 125,
"g": 124,
"b": 22
},
"hsl": {
"h": 59.417,
"s": 70.068,
"l": 28.824
},
"oklch": {
"l": 0.56923,
"c": 0.11613,
"h": 109
},
"luminance": 0.18833
}Semantic roles & 50–950 ramp
primary
#7D7C16
secondary
#3D3EB2
accent
#3DED3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79