#318B2F#318B2F
#318B2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.154 H 142.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #318B2F |
|---|---|
| RGB | rgb(49, 139, 47) |
| HSL | hsl(119, 49%, 36%) |
| HSV | hsv(119, 66%, 55%) |
| CMYK | cmyk(64.7%, 0%, 66.2%, 45.5%) |
| CIE-LAB | lab(51.06, -45.31, 40.21) |
| CIE-LCH | lch(51.06, 60.58, 138.42°) |
| OKLab | oklab(56.31% -0.1232 0.0933) |
| OKLCH | oklch(56.31% 0.155 142.9) |
| XYZ | xyz(11.0117, 19.3224, 5.8381) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.75
Emerald Green
#028F1E
ΔE00 2.96
Kelley Green
#009337
ΔE00 3.63
Irish Green
#019529
ΔE00 3.94
Fern Green
#548D44
ΔE00 4.78
Tree Green
#2A7E19
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318B2F #892F8B
analogous
#5F8B2F #318B2F #2F8B5B
triadic
#318B2F #2F318B #8B2F31
tetradic
#318B2F #2F5F8B #892F8B #8B5B2F
square
#318B2F #2F5F8B #892F8B #8B5B2F
split-complementary
#318B2F #5B2F8B #8B2F5F
monochromatic
#113010 #215D20 #318B2F #41B93E #6BCC68
Accessibility & contrast
On white
4.32
#318B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#318B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318B2F
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318B2F | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#1F8778
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #318b2f; /* rgb */ color: rgb(49, 139, 47); /* oklch */ color: oklch(56.3% 0.154 142.9);
Tailwind
colors: {
custom: {
50: '#75ae6c',
500: '#318b2f',
950: '#000000',
},
}SCSS
$custom: #318b2f; $custom-light: #75ae6c; $custom-dark: #000000;
JSON
{
"hex": "#318b2f",
"rgb": {
"r": 49,
"g": 139,
"b": 47
},
"hsl": {
"h": 118.696,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.56307,
"c": 0.1545,
"h": 142.9
},
"luminance": 0.19323
}Semantic roles & 50–950 ramp
primary
#318B2F
secondary
#B163B3
accent
#4FD9D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A