#3A7F0F#3A7F0F
#3A7F0F is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.1% C 0.154 H 137.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A7F0F |
|---|---|
| RGB | rgb(58, 127, 15) |
| HSL | hsl(97, 79%, 28%) |
| HSV | hsv(97, 88%, 50%) |
| CMYK | cmyk(54.3%, 0%, 88.2%, 50.2%) |
| CIE-LAB | lab(47.12, -40.68, 47.99) |
| CIE-LCH | lch(47.12, 62.91, 130.29°) |
| OKLab | oklab(53.07% -0.1131 0.105) |
| OKLCH | oklch(53.07% 0.154 137.1) |
| XYZ | xyz(9.4202, 16.1121, 3.0654) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 0.78
Tree Green
#2A7E19
ΔE00 2.46
Green
#008000
ΔE00 3.74
Avocado
#568203
ΔE00 5.08
Forestgreen (CSS)
#228B22
ΔE00 5.16
Emerald Green
#028F1E
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A7F0F #540F7F
analogous
#727F0F #3A7F0F #0F7F1C
triadic
#3A7F0F #0F3A7F #7F0F3A
tetradic
#3A7F0F #0F727F #540F7F #7F1C0F
square
#3A7F0F #0F727F #540F7F #7F1C0F
split-complementary
#3A7F0F #1C0F7F #7F0F72
monochromatic
#0C1B03 #214809 #3A7F0F #53B615 #6EE523
Accessibility & contrast
On white
4.97
#3A7F0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#3A7F0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A7F0F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A7F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A7F0F | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#357A6B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #3a7f0f; /* rgb */ color: rgb(58, 127, 15); /* oklch */ color: oklch(53.1% 0.154 137.1);
Tailwind
colors: {
custom: {
50: '#79a55b',
500: '#3a7f0f',
950: '#000000',
},
}SCSS
$custom: #3a7f0f; $custom-light: #79a55b; $custom-dark: #000000;
JSON
{
"hex": "#3a7f0f",
"rgb": {
"r": 58,
"g": 127,
"b": 15
},
"hsl": {
"h": 96.964,
"s": 78.873,
"l": 27.843
},
"oklch": {
"l": 0.53071,
"c": 0.15435,
"h": 137.1
},
"luminance": 0.16113
}Semantic roles & 50–950 ramp
primary
#3A7F0F
secondary
#8434B5
accent
#32F5AB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79