#1F6F2A#1F6F2A
#1F6F2A is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.129 H 145.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6F2A |
|---|---|
| RGB | rgb(31, 111, 42) |
| HSL | hsl(128, 56%, 28%) |
| HSV | hsv(128, 72%, 44%) |
| CMYK | cmyk(72.1%, 0%, 62.2%, 56.5%) |
| CIE-LAB | lab(40.94, -39.22, 31.02) |
| CIE-LCH | lch(40.94, 50.01, 141.66°) |
| OKLab | oklab(47.78% -0.106 0.0732) |
| OKLCH | oklch(47.78% 0.129 145.4) |
| XYZ | xyz(6.6670, 11.8266, 4.1215) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.58
Darkgreen
#006400
ΔE00 5.64
Tree Green
#2A7E19
ΔE00 6.77
Jungle Green
#048243
ΔE00 7.24
Deep Green
#02590F
ΔE00 7.41
Forest Green
#2D5A27
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6F2A #6F1F64
analogous
#3C6F1F #1F6F2A #1F6F52
triadic
#1F6F2A #2A1F6F #6F2A1F
tetradic
#1F6F2A #1F3C6F #6F1F64 #6F521F
square
#1F6F2A #1F3C6F #6F1F64 #6F521F
split-complementary
#1F6F2A #521F6F #6F1F3C
monochromatic
#071809 #123F18 #1F6F2A #2C9F3C #3FC952
Accessibility & contrast
On white
6.24
#1F6F2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#1F6F2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6F2A
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6F2A | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#675E30
Tritanopia (blue-blind)
#036C60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f6f2a; /* rgb */ color: rgb(31, 111, 42); /* oklch */ color: oklch(47.8% 0.129 145.4);
Tailwind
colors: {
custom: {
50: '#679966',
500: '#1f6f2a',
950: '#000000',
},
}SCSS
$custom: #1f6f2a; $custom-light: #679966; $custom-dark: #000000;
JSON
{
"hex": "#1f6f2a",
"rgb": {
"r": 31,
"g": 111,
"b": 42
},
"hsl": {
"h": 128.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.47779,
"c": 0.12879,
"h": 145.4
},
"luminance": 0.11827
}Semantic roles & 50–950 ramp
primary
#1F6F2A
secondary
#A34796
accent
#48CBE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A