#317230#317230
#317230 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.119 H 143.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #317230 |
|---|---|
| RGB | rgb(49, 114, 48) |
| HSL | hsl(119, 41%, 32%) |
| HSV | hsv(119, 58%, 45%) |
| CMYK | cmyk(57%, 0%, 57.9%, 55.3%) |
| CIE-LAB | lab(42.61, -35.20, 30.04) |
| CIE-LCH | lch(42.61, 46.28, 139.52°) |
| OKLab | oklab(49.34% -0.0957 0.0715) |
| OKLCH | oklch(49.34% 0.119 143.2) |
| XYZ | xyz(7.8170, 12.9003, 4.8738) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.67
Tree Green
#2A7E19
ΔE00 6.14
Jungle Green
#048243
ΔE00 6.79
Darkgreen
#006400
ΔE00 7.12
Green
#008000
ΔE00 7.93
Darkolivegreen
#556B2F
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317230 #713072
analogous
#527230 #317230 #307250
triadic
#317230 #303172 #723031
tetradic
#317230 #305272 #713072 #725030
square
#317230 #305272 #713072 #725030
split-complementary
#317230 #503072 #723052
monochromatic
#0C1C0C #1E471E #317230 #449D42 #62BC60
Accessibility & contrast
On white
5.87
#317230 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#317230 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317230
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317230 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6C6235
Tritanopia (blue-blind)
#276F63
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #317230; /* rgb */ color: rgb(49, 114, 48); /* oklch */ color: oklch(49.3% 0.119 143.2);
Tailwind
colors: {
custom: {
50: '#709b6a',
500: '#317230',
950: '#000000',
},
}SCSS
$custom: #317230; $custom-light: #709b6a; $custom-dark: #000000;
JSON
{
"hex": "#317230",
"rgb": {
"r": 49,
"g": 114,
"b": 48
},
"hsl": {
"h": 119.091,
"s": 40.741,
"l": 31.765
},
"oklch": {
"l": 0.49342,
"c": 0.11949,
"h": 143.2
},
"luminance": 0.12901
}Semantic roles & 50–950 ramp
primary
#317230
secondary
#A25BA3
accent
#57D1CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A