#7D7918#7D7918
#7D7918 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.112 H 107.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7918 |
|---|---|
| RGB | rgb(125, 121, 24) |
| HSL | hsl(58, 68%, 29%) |
| HSV | hsv(58, 81%, 49%) |
| CMYK | cmyk(0%, 3.2%, 80.8%, 51%) |
| CIE-LAB | lab(49.62, -9.90, 49.28) |
| CIE-LCH | lch(49.62, 50.27, 101.36°) |
| OKLab | oklab(56.23% -0.0328 0.1072) |
| OKLCH | oklch(56.23% 0.112 107) |
| XYZ | xyz(15.4603, 18.1012, 3.5435) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.32
Ugly Brown
#7D7103
ΔE00 3.77
Olive (survey)
#6E750E
ΔE00 4.04
Shit Green
#758000
ΔE00 4.67
Poop Green
#6F7C00
ΔE00 4.84
Brown Green
#706C11
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7918 #181C7D
analogous
#7D4718 #7D7918 #4F7D18
triadic
#7D7918 #187D79 #79187D
tetradic
#7D7918 #187D47 #181C7D #7D184F
square
#7D7918 #187D47 #181C7D #7D184F
split-complementary
#7D7918 #184F7D #47187D
monochromatic
#1A1905 #4A470E #7D7918 #B0AB22 #D9D237
Accessibility & contrast
On white
4.55
#7D7918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7D7918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7918
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7918 | 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)
#867820
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d7918; /* rgb */ color: rgb(125, 121, 24); /* oklch */ color: oklch(56.2% 0.112 107.0);
Tailwind
colors: {
custom: {
50: '#a69f5e',
500: '#7d7918',
950: '#000000',
},
}SCSS
$custom: #7d7918; $custom-light: #a69f5e; $custom-dark: #000000;
JSON
{
"hex": "#7d7918",
"rgb": {
"r": 125,
"g": 121,
"b": 24
},
"hsl": {
"h": 57.624,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.56229,
"c": 0.11212,
"h": 107
},
"luminance": 0.18101
}Semantic roles & 50–950 ramp
primary
#7D7918
secondary
#3F44B2
accent
#44EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79