#1F6830#1F6830
#1F6830 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.113 H 147.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6830 |
|---|---|
| RGB | rgb(31, 104, 48) |
| HSL | hsl(134, 54%, 26%) |
| HSV | hsv(134, 70%, 41%) |
| CMYK | cmyk(70.2%, 0%, 53.8%, 59.2%) |
| CIE-LAB | lab(38.56, -35.55, 24.99) |
| CIE-LCH | lch(38.56, 43.46, 144.89°) |
| OKLab | oklab(45.84% -0.0959 0.0604) |
| OKLCH | oklch(45.84% 0.113 147.8) |
| XYZ | xyz(6.0485, 10.4047, 4.4853) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.92
Spruce
#0A5F38
ΔE00 5.29
Forest Green
#2D5A27
ΔE00 5.32
Deep Green
#02590F
ΔE00 6.30
Hunter Green
#355E3B
ΔE00 6.44
Darkgreen
#006400
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6830 #681F57
analogous
#33681F #1F6830 #1F6855
triadic
#1F6830 #301F68 #68301F
tetradic
#1F6830 #1F3368 #681F57 #68551F
square
#1F6830 #1F3368 #681F57 #68551F
split-complementary
#1F6830 #551F68 #681F33
monochromatic
#07180B #11391A #1F6830 #2D9746 #3CC55C
Accessibility & contrast
On white
6.82
#1F6830 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#1F6830 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6830
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6830 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F2B
Deuteranopia (green-blind)
#605834
Tritanopia (blue-blind)
#04665B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f6830; /* rgb */ color: rgb(31, 104, 48); /* oklch */ color: oklch(45.8% 0.113 147.8);
Tailwind
colors: {
custom: {
50: '#659469',
500: '#1f6830',
950: '#000000',
},
}SCSS
$custom: #1f6830; $custom-light: #659469; $custom-dark: #000000;
JSON
{
"hex": "#1f6830",
"rgb": {
"r": 31,
"g": 104,
"b": 48
},
"hsl": {
"h": 133.973,
"s": 54.074,
"l": 26.471
},
"oklch": {
"l": 0.45837,
"c": 0.11333,
"h": 147.8
},
"luminance": 0.10405
}Semantic roles & 50–950 ramp
primary
#1F6830
secondary
#9C4688
accent
#4ABBDD
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A