#7D782D#7D782D
#7D782D is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.096 H 105.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7D782D |
|---|---|
| RGB | rgb(125, 120, 45) |
| HSL | hsl(56, 47%, 33%) |
| HSV | hsv(56, 64%, 49%) |
| CMYK | cmyk(0%, 4%, 64%, 51%) |
| CIE-LAB | lab(49.48, -8.18, 40.66) |
| CIE-LCH | lch(49.48, 41.47, 101.38°) |
| OKLab | oklab(56.16% -0.0257 0.0928) |
| OKLCH | oklch(56.16% 0.096 105.5) |
| XYZ | xyz(15.6481, 17.9829, 5.1289) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.55
Olive (survey)
#6E750E
ΔE00 5.01
Ugly Brown
#7D7103
ΔE00 5.03
Drab
#828344
ΔE00 5.11
Brown Green
#706C11
ΔE00 5.21
Browny Green
#6F6C0A
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D782D #2D327D
analogous
#7D502D #7D782D #5A7D2D
triadic
#7D782D #2D7D78 #782D7D
tetradic
#7D782D #2D7D50 #2D327D #7D2D5A
square
#7D782D #2D7D50 #2D327D #7D2D5A
split-complementary
#7D782D #2D5A7D #502D7D
monochromatic
#23220D #504D1D #7D782D #AAA33D #C5BF5F
Accessibility & contrast
On white
4.57
#7D782D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7D782D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D782D
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D782D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D782D | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827424
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#867068
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7d782d; /* rgb */ color: rgb(125, 120, 45); /* oklch */ color: oklch(56.2% 0.096 105.5);
Tailwind
colors: {
custom: {
50: '#a59e6a',
500: '#7d782d',
950: '#000000',
},
}SCSS
$custom: #7d782d; $custom-light: #a59e6a; $custom-dark: #000000;
JSON
{
"hex": "#7d782d",
"rgb": {
"r": 125,
"g": 120,
"b": 45
},
"hsl": {
"h": 56.25,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.56162,
"c": 0.09633,
"h": 105.5
},
"luminance": 0.17982
}Semantic roles & 50–950 ramp
primary
#7D782D
secondary
#5A5FAC
accent
#59D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A