#1F7334#1F7334
#1F7334 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.125 H 147.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7334 |
|---|---|
| RGB | rgb(31, 115, 52) |
| HSL | hsl(135, 58%, 29%) |
| HSV | hsv(135, 73%, 45%) |
| CMYK | cmyk(73%, 0%, 54.8%, 54.9%) |
| CIE-LAB | lab(42.46, -39.30, 27.62) |
| CIE-LCH | lch(42.46, 48.03, 144.91°) |
| OKLab | oklab(49.08% -0.1059 0.0665) |
| OKLCH | oklch(49.08% 0.125 147.9) |
| XYZ | xyz(7.3151, 12.7999, 5.3333) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.31
Jungle Green
#048243
ΔE00 5.47
Tree Green
#2A7E19
ΔE00 7.02
Darkgreen
#006400
ΔE00 7.61
Spruce
#0A5F38
ΔE00 8.35
Pine
#2B5D34
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7334 #731F5E
analogous
#34731F #1F7334 #1F735E
triadic
#1F7334 #341F73 #73341F
tetradic
#1F7334 #1F3473 #731F5E #735E1F
square
#1F7334 #1F3473 #731F5E #735E1F
split-complementary
#1F7334 #5E1F73 #731F34
monochromatic
#06180B #12431E #1F7334 #2CA34A #41CC63
Accessibility & contrast
On white
5.90
#1F7334 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#1F7334 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7334
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7334 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7334 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74682E
Deuteranopia (green-blind)
#6A6139
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7334; /* rgb */ color: rgb(31, 115, 52); /* oklch */ color: oklch(49.1% 0.125 147.9);
Tailwind
colors: {
custom: {
50: '#679c6d',
500: '#1f7334',
950: '#000000',
},
}SCSS
$custom: #1f7334; $custom-light: #679c6d; $custom-dark: #000000;
JSON
{
"hex": "#1f7334",
"rgb": {
"r": 31,
"g": 115,
"b": 52
},
"hsl": {
"h": 135,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49078,
"c": 0.12504,
"h": 147.9
},
"luminance": 0.12801
}Semantic roles & 50–950 ramp
primary
#1F7334
secondary
#A7478F
accent
#47BAE1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A