#1F7025#1F7025
#1F7025 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.134 H 144.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7025 |
|---|---|
| RGB | rgb(31, 112, 37) |
| HSL | hsl(124, 57%, 28%) |
| HSV | hsv(124, 72%, 44%) |
| CMYK | cmyk(72.3%, 0%, 67%, 56.1%) |
| CIE-LAB | lab(41.24, -40.24, 33.81) |
| CIE-LCH | lch(41.24, 52.56, 139.96°) |
| OKLab | oklab(48.01% -0.1089 0.0787) |
| OKLCH | oklch(48.01% 0.134 144.2) |
| XYZ | xyz(6.6927, 12.0125, 3.7158) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.54
Darkgreen
#006400
ΔE00 5.19
Tree Green
#2A7E19
ΔE00 5.89
Green
#008000
ΔE00 7.12
Jungle Green
#048243
ΔE00 7.45
Deep Green
#02590F
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7025 #701F6A
analogous
#42701F #1F7025 #1F704D
triadic
#1F7025 #251F70 #70251F
tetradic
#1F7025 #1F4270 #701F6A #704D1F
square
#1F7025 #1F4270 #701F6A #704D1F
split-complementary
#1F7025 #4D1F70 #701F42
monochromatic
#071808 #124015 #1F7025 #2CA035 #3FCA4A
Accessibility & contrast
On white
6.17
#1F7025 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#1F7025 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7025
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7025 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7025 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72651C
Deuteranopia (green-blind)
#695F2C
Tritanopia (blue-blind)
#056D60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f7025; /* rgb */ color: rgb(31, 112, 37); /* oklch */ color: oklch(48.0% 0.134 144.2);
Tailwind
colors: {
custom: {
50: '#679a63',
500: '#1f7025',
950: '#000000',
},
}SCSS
$custom: #1f7025; $custom-light: #679a63; $custom-dark: #000000;
JSON
{
"hex": "#1f7025",
"rgb": {
"r": 31,
"g": 112,
"b": 37
},
"hsl": {
"h": 124.444,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48008,
"c": 0.13438,
"h": 144.2
},
"luminance": 0.12013
}Semantic roles & 50–950 ramp
primary
#1F7025
secondary
#A4479D
accent
#48D5E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E05
muted
#7A7E7A