#418122#418122
#418122 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.1% C 0.143 H 137.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #418122 |
|---|---|
| RGB | rgb(65, 129, 34) |
| HSL | hsl(100, 58%, 32%) |
| HSV | hsv(100, 74%, 51%) |
| CMYK | cmyk(49.6%, 0%, 73.6%, 49.4%) |
| CIE-LAB | lab(48.18, -38.13, 42.88) |
| CIE-LCH | lch(48.18, 57.38, 131.65°) |
| OKLab | oklab(54.06% -0.1056 0.0971) |
| OKLCH | oklch(54.06% 0.143 137.4) |
| XYZ | xyz(10.3186, 16.9391, 4.2389) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.51
Tree Green
#2A7E19
ΔE00 2.80
Forestgreen (CSS)
#228B22
ΔE00 4.57
Green
#008000
ΔE00 4.69
Avocado
#568203
ΔE00 5.38
Darkish Green
#287C37
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#418122 #622281
analogous
#718122 #418122 #228133
triadic
#418122 #224181 #812241
tetradic
#418122 #227181 #622281 #813322
square
#418122 #227181 #622281 #813322
split-complementary
#418122 #332281 #812271
monochromatic
#102008 #295115 #418122 #59B12F #78D04D
Accessibility & contrast
On white
4.79
#418122 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#418122 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #418122
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##418122 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##418122 | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#3D7C6E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #418122; /* rgb */ color: rgb(65, 129, 34); /* oklch */ color: oklch(54.1% 0.143 137.4);
Tailwind
colors: {
custom: {
50: '#7ca663',
500: '#418122',
950: '#000000',
},
}SCSS
$custom: #418122; $custom-light: #7ca663; $custom-dark: #000000;
JSON
{
"hex": "#418122",
"rgb": {
"r": 65,
"g": 129,
"b": 34
},
"hsl": {
"h": 100.421,
"s": 58.282,
"l": 31.961
},
"oklch": {
"l": 0.54058,
"c": 0.14341,
"h": 137.4
},
"luminance": 0.1694
}Semantic roles & 50–950 ramp
primary
#418122
secondary
#914BB3
accent
#46E1AF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A