#1F6912#1F6912
#1F6912 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.138 H 141.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6912 |
|---|---|
| RGB | rgb(31, 105, 18) |
| HSL | hsl(111, 71%, 24%) |
| HSV | hsv(111, 83%, 41%) |
| CMYK | cmyk(70.5%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(38.62, -39.41, 39.00) |
| CIE-LCH | lch(38.62, 55.45, 135.30°) |
| OKLab | oklab(45.79% -0.1077 0.087) |
| OKLCH | oklch(45.79% 0.138 141.1) |
| XYZ | xyz(5.7255, 10.4375, 2.2851) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.47
Deep Green
#02590F
ΔE00 5.65
Forest
#0B5509
ΔE00 6.58
Tree Green
#2A7E19
ΔE00 7.24
Forest Green
#2D5A27
ΔE00 7.36
Darkish Green
#287C37
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6912 #5C1269
analogous
#4B6912 #1F6912 #126930
triadic
#1F6912 #121F69 #69121F
tetradic
#1F6912 #124B69 #5C1269 #693012
square
#1F6912 #124B69 #5C1269 #693012
split-complementary
#1F6912 #301269 #69124B
monochromatic
#081A04 #103509 #1F6912 #2E9D1B #3ED124
Accessibility & contrast
On white
6.80
#1F6912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#1F6912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6912
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6912 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#106559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f6912; /* rgb */ color: rgb(31, 105, 18); /* oklch */ color: oklch(45.8% 0.138 141.1);
Tailwind
colors: {
custom: {
50: '#679558',
500: '#1f6912',
950: '#000000',
},
}SCSS
$custom: #1f6912; $custom-light: #679558; $custom-dark: #000000;
JSON
{
"hex": "#1f6912",
"rgb": {
"r": 31,
"g": 105,
"b": 18
},
"hsl": {
"h": 111.034,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45789,
"c": 0.13846,
"h": 141.1
},
"luminance": 0.10438
}Semantic roles & 50–950 ramp
primary
#1F6912
secondary
#9136A1
accent
#3AEDD3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79