#15731F#15731F
#15731F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.146 H 144.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #15731F |
|---|---|
| RGB | rgb(21, 115, 31) |
| HSL | hsl(126, 69%, 27%) |
| HSV | hsv(126, 82%, 45%) |
| CMYK | cmyk(81.7%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.03, -43.72, 37.32) |
| CIE-LCH | lch(42.03, 57.48, 139.51°) |
| OKLab | oklab(48.59% -0.1182 0.0854) |
| OKLCH | oklch(48.59% 0.146 144.1) |
| XYZ | xyz(6.6869, 12.5190, 3.3601) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.41
Tree Green
#2A7E19
ΔE00 4.70
Darkgreen
#006400
ΔE00 5.37
Green
#008000
ΔE00 5.64
Dark Grass Green
#388004
ΔE00 7.18
Jungle Green
#048243
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15731F #731569
analogous
#3A7315 #15731F #15734E
triadic
#15731F #1F1573 #731F15
tetradic
#15731F #153A73 #731569 #734E15
square
#15731F #153A73 #731569 #734E15
split-complementary
#15731F #4E1573 #73153A
monochromatic
#051A07 #0C3F11 #15731F #1EA72D #2AD83D
Accessibility & contrast
On white
5.99
#15731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#15731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #15731F
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15731F | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756712
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #15731f; /* rgb */ color: rgb(21, 115, 31); /* oklch */ color: oklch(48.6% 0.146 144.1);
Tailwind
colors: {
custom: {
50: '#659c60',
500: '#15731f',
950: '#000000',
},
}SCSS
$custom: #15731f; $custom-light: #659c60; $custom-dark: #000000;
JSON
{
"hex": "#15731f",
"rgb": {
"r": 21,
"g": 115,
"b": 31
},
"hsl": {
"h": 126.383,
"s": 69.118,
"l": 26.667
},
"oklch": {
"l": 0.48589,
"c": 0.14581,
"h": 144.1
},
"luminance": 0.1252
}Semantic roles & 50–950 ramp
primary
#15731F
secondary
#A93B9D
accent
#3CD9EC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79