#1F6212#1F6212
#1F6212 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.7% C 0.130 H 140.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6212 |
|---|---|
| RGB | rgb(31, 98, 18) |
| HSL | hsl(110, 69%, 23%) |
| HSV | hsv(110, 82%, 38%) |
| CMYK | cmyk(68.4%, 0%, 81.6%, 61.6%) |
| CIE-LAB | lab(36.12, -36.78, 36.59) |
| CIE-LCH | lch(36.12, 51.88, 135.15°) |
| OKLab | oklab(43.72% -0.1006 0.082) |
| OKLCH | oklch(43.72% 0.13 140.8) |
| XYZ | xyz(5.0417, 9.0698, 2.0571) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.42
Deep Green
#02590F
ΔE00 3.58
Forest
#0B5509
ΔE00 4.33
Forest Green
#2D5A27
ΔE00 5.55
Navy Green
#35530A
ΔE00 6.96
Bottle Green
#044A05
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6212 #551262
analogous
#476212 #1F6212 #12622D
triadic
#1F6212 #121F62 #62121F
tetradic
#1F6212 #124762 #551262 #622D12
square
#1F6212 #124762 #551262 #622D12
split-complementary
#1F6212 #2D1262 #621247
monochromatic
#081A05 #0F2E09 #1F6212 #2F961B #40C925
Accessibility & contrast
On white
7.46
#1F6212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#1F6212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F6212
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6212 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655801
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#135F53
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #1f6212; /* rgb */ color: rgb(31, 98, 18); /* oklch */ color: oklch(43.7% 0.130 140.8);
Tailwind
colors: {
custom: {
50: '#658f57',
500: '#1f6212',
950: '#000000',
},
}SCSS
$custom: #1f6212; $custom-light: #658f57; $custom-dark: #000000;
JSON
{
"hex": "#1f6212",
"rgb": {
"r": 31,
"g": 98,
"b": 18
},
"hsl": {
"h": 110.25,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43719,
"c": 0.12979,
"h": 140.8
},
"luminance": 0.0907
}Semantic roles & 50–950 ramp
primary
#1F6212
secondary
#8A369A
accent
#3CECCF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78