#1F6340#1F6340
#1F6340 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.089 H 157.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6340 |
|---|---|
| RGB | rgb(31, 99, 64) |
| HSL | hsl(149, 52%, 25%) |
| HSV | hsv(149, 69%, 39%) |
| CMYK | cmyk(68.7%, 0%, 35.4%, 61.2%) |
| CIE-LAB | lab(37.09, -30.27, 13.82) |
| CIE-LCH | lch(37.09, 33.27, 155.45°) |
| OKLab | oklab(44.72% -0.0822 0.0349) |
| OKLCH | oklch(44.72% 0.089 157) |
| XYZ | xyz(5.9518, 9.5845, 6.3858) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.28
Pine
#2B5D34
ΔE00 3.80
Hunter Green
#355E3B
ΔE00 4.18
Forest Green
#2D5A27
ΔE00 6.84
Dark Green Blue
#1F6357
ΔE00 8.45
Evergreen
#05472A
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6340 #631F42
analogous
#20631F #1F6340 #1F6362
triadic
#1F6340 #401F63 #63401F
tetradic
#1F6340 #1F2063 #631F42 #63621F
square
#1F6340 #1F2063 #631F42 #63621F
split-complementary
#1F6340 #621F63 #631F20
monochromatic
#07170F #103422 #1F6340 #2E925E #3CC07C
Accessibility & contrast
On white
7.20
#1F6340 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#1F6340 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F6340
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6340 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#595542
Tritanopia (blue-blind)
#00625A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #1f6340; /* rgb */ color: rgb(31, 99, 64); /* oklch */ color: oklch(44.7% 0.089 157.0);
Tailwind
colors: {
custom: {
50: '#649075',
500: '#1f6340',
950: '#000000',
},
}SCSS
$custom: #1f6340; $custom-light: #649075; $custom-dark: #000000;
JSON
{
"hex": "#1f6340",
"rgb": {
"r": 31,
"g": 99,
"b": 64
},
"hsl": {
"h": 149.118,
"s": 52.308,
"l": 25.49
},
"oklch": {
"l": 0.44717,
"c": 0.08932,
"h": 157
},
"luminance": 0.09585
}Semantic roles & 50–950 ramp
primary
#1F6340
secondary
#984670
accent
#4C96DC
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B