#18752F#18752F
#18752F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.135 H 147.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #18752F |
|---|---|
| RGB | rgb(24, 117, 47) |
| HSL | hsl(135, 66%, 28%) |
| HSV | hsv(135, 79%, 46%) |
| CMYK | cmyk(79.5%, 0%, 59.8%, 54.1%) |
| CIE-LAB | lab(42.95, -42.02, 30.79) |
| CIE-LCH | lch(42.95, 52.09, 143.77°) |
| OKLab | oklab(49.42% -0.1131 0.0732) |
| OKLCH | oklch(49.42% 0.135 147.1) |
| XYZ | xyz(7.2505, 13.1212, 4.8393) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.75
Jungle Green
#048243
ΔE00 5.21
Tree Green
#2A7E19
ΔE00 5.84
Green
#008000
ΔE00 7.07
Darkgreen
#006400
ΔE00 7.24
Dark Grass Green
#388004
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18752F #75185E
analogous
#2F7518 #18752F #18755E
triadic
#18752F #2F1875 #752F18
tetradic
#18752F #182F75 #75185E #755E18
square
#18752F #182F75 #75185E #755E18
split-complementary
#18752F #5E1875 #75182F
monochromatic
#05190A #0E421B #18752F #22A843 #32D55B
Accessibility & contrast
On white
5.79
#18752F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#18752F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18752F
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18752F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18752F | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766A28
Deuteranopia (green-blind)
#6C6335
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #18752f; /* rgb */ color: rgb(24, 117, 47); /* oklch */ color: oklch(49.4% 0.135 147.1);
Tailwind
colors: {
custom: {
50: '#669e6a',
500: '#18752f',
950: '#000000',
},
}SCSS
$custom: #18752f; $custom-light: #669e6a; $custom-dark: #000000;
JSON
{
"hex": "#18752f",
"rgb": {
"r": 24,
"g": 117,
"b": 47
},
"hsl": {
"h": 134.839,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.49417,
"c": 0.13467,
"h": 147.1
},
"luminance": 0.13122
}Semantic roles & 50–950 ramp
primary
#18752F
secondary
#AA3F90
accent
#3FBFE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A