#3A751A#3A751A
#3A751A is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.3% C 0.136 H 137.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3A751A |
|---|---|
| RGB | rgb(58, 117, 26) |
| HSL | hsl(99, 64%, 28%) |
| HSV | hsv(99, 78%, 46%) |
| CMYK | cmyk(50.4%, 0%, 77.8%, 54.1%) |
| CIE-LAB | lab(43.79, -35.97, 41.48) |
| CIE-LCH | lch(43.79, 54.90, 130.93°) |
| OKLab | oklab(50.35% -0.0998 0.093) |
| OKLCH | oklch(50.35% 0.136 137) |
| XYZ | xyz(8.2924, 13.6961, 3.1837) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.68
Dark Grass Green
#388004
ΔE00 4.50
Green
#008000
ΔE00 5.55
Darkish Green
#287C37
ΔE00 5.96
Darkgreen
#006400
ΔE00 7.25
Avocado
#568203
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A751A #551A75
analogous
#67751A #3A751A #1A7527
triadic
#3A751A #1A3A75 #751A3A
tetradic
#3A751A #1A6775 #551A75 #75271A
square
#3A751A #1A6775 #551A75 #75271A
split-complementary
#3A751A #271A75 #751A67
monochromatic
#0C1906 #21430F #3A751A #53A725 #6ED337
Accessibility & contrast
On white
5.62
#3A751A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#3A751A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A751A
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A751A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A751A | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B07
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#377164
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3a751a; /* rgb */ color: rgb(58, 117, 26); /* oklch */ color: oklch(50.3% 0.136 137.0);
Tailwind
colors: {
custom: {
50: '#769d5e',
500: '#3a751a',
950: '#000000',
},
}SCSS
$custom: #3a751a; $custom-light: #769d5e; $custom-dark: #000000;
JSON
{
"hex": "#3a751a",
"rgb": {
"r": 58,
"g": 117,
"b": 26
},
"hsl": {
"h": 98.901,
"s": 63.636,
"l": 28.039
},
"oklch": {
"l": 0.50349,
"c": 0.13646,
"h": 137
},
"luminance": 0.13697
}Semantic roles & 50–950 ramp
primary
#3A751A
secondary
#8541AA
accent
#41E7AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79