#1F7F13#1F7F13
#1F7F13 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.164 H 141.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7F13 |
|---|---|
| RGB | rgb(31, 127, 19) |
| HSL | hsl(113, 74%, 29%) |
| HSV | hsv(113, 85%, 50%) |
| CMYK | cmyk(75.6%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(46.33, -47.10, 45.91) |
| CIE-LCH | lch(46.33, 65.78, 135.73°) |
| OKLab | oklab(52.2% -0.1284 0.1016) |
| OKLCH | oklch(52.2% 0.164 141.7) |
| XYZ | xyz(8.2715, 15.5161, 3.1750) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.95
Green
#008000
ΔE00 1.49
Dark Grass Green
#388004
ΔE00 3.12
Forestgreen (CSS)
#228B22
ΔE00 4.36
Darkish Green
#287C37
ΔE00 5.48
Emerald Green
#028F1E
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7F13 #73137F
analogous
#557F13 #1F7F13 #137F3D
triadic
#1F7F13 #131F7F #7F131F
tetradic
#1F7F13 #13557F #73137F #7F3D13
square
#1F7F13 #13557F #73137F #7F3D13
split-complementary
#1F7F13 #3D137F #7F1355
monochromatic
#061B04 #124A0B #1F7F13 #2CB41B #41E02D
Accessibility & contrast
On white
5.12
#1F7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1F7F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7F13
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7F13 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7f13; /* rgb */ color: rgb(31, 127, 19); /* oklch */ color: oklch(52.2% 0.164 141.7);
Tailwind
colors: {
custom: {
50: '#6ca55c',
500: '#1f7f13',
950: '#000000',
},
}SCSS
$custom: #1f7f13; $custom-light: #6ca55c; $custom-dark: #000000;
JSON
{
"hex": "#1f7f13",
"rgb": {
"r": 31,
"g": 127,
"b": 19
},
"hsl": {
"h": 113.333,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.52197,
"c": 0.16375,
"h": 141.7
},
"luminance": 0.15517
}Semantic roles & 50–950 ramp
primary
#1F7F13
secondary
#A739B4
accent
#37F1DC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79