#418126#418126
#418126 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.141 H 137.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #418126 |
|---|---|
| RGB | rgb(65, 129, 38) |
| HSL | hsl(102, 54%, 33%) |
| HSV | hsv(102, 71%, 51%) |
| CMYK | cmyk(49.6%, 0%, 70.5%, 49.4%) |
| CIE-LAB | lab(48.21, -37.79, 41.26) |
| CIE-LCH | lch(48.21, 55.95, 132.49°) |
| OKLab | oklab(54.09% -0.1044 0.0942) |
| OKLCH | oklch(54.09% 0.141 137.9) |
| XYZ | xyz(10.3797, 16.9636, 4.5607) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.84
Dark Grass Green
#388004
ΔE00 3.03
Forestgreen (CSS)
#228B22
ΔE00 4.54
Green
#008000
ΔE00 4.85
Darkish Green
#287C37
ΔE00 5.58
Avocado
#568203
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#418126 #662681
analogous
#6E8126 #418126 #268139
triadic
#418126 #264181 #812641
tetradic
#418126 #266E81 #662681 #813926
square
#418126 #266E81 #662681 #813926
split-complementary
#418126 #392681 #81266E
monochromatic
#11220A #295218 #418126 #59B034 #78CD55
Accessibility & contrast
On white
4.78
#418126 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#418126 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #418126
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##418126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##418126 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857619
Deuteranopia (green-blind)
#7D702E
Tritanopia (blue-blind)
#3D7C6F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #418126; /* rgb */ color: rgb(65, 129, 38); /* oklch */ color: oklch(54.1% 0.141 137.9);
Tailwind
colors: {
custom: {
50: '#7ca666',
500: '#418126',
950: '#000000',
},
}SCSS
$custom: #418126; $custom-light: #7ca666; $custom-dark: #000000;
JSON
{
"hex": "#418126",
"rgb": {
"r": 65,
"g": 129,
"b": 38
},
"hsl": {
"h": 102.198,
"s": 54.491,
"l": 32.745
},
"oklch": {
"l": 0.54093,
"c": 0.14062,
"h": 137.9
},
"luminance": 0.16964
}Semantic roles & 50–950 ramp
primary
#418126
secondary
#9551B1
accent
#4ADEB2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A