#1F7336#1F7336
#1F7336 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.123 H 148.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7336 |
|---|---|
| RGB | rgb(31, 115, 54) |
| HSL | hsl(136, 58%, 29%) |
| HSV | hsv(136, 73%, 45%) |
| CMYK | cmyk(73%, 0%, 53%, 54.9%) |
| CIE-LAB | lab(42.49, -38.98, 26.57) |
| CIE-LCH | lch(42.49, 47.17, 145.72°) |
| OKLab | oklab(49.11% -0.105 0.0643) |
| OKLCH | oklch(49.11% 0.123 148.5) |
| XYZ | xyz(7.3611, 12.8183, 5.5756) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.44
Jungle Green
#048243
ΔE00 5.38
Tree Green
#2A7E19
ΔE00 7.38
Darkgreen
#006400
ΔE00 7.93
Spruce
#0A5F38
ΔE00 8.10
Pine
#2B5D34
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7336 #731F5C
analogous
#32731F #1F7336 #1F7360
triadic
#1F7336 #361F73 #73361F
tetradic
#1F7336 #1F3273 #731F5C #73601F
square
#1F7336 #1F3273 #731F5C #73601F
split-complementary
#1F7336 #601F73 #731F32
monochromatic
#06180B #12431F #1F7336 #2CA34D #41CC67
Accessibility & contrast
On white
5.89
#1F7336 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#1F7336 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7336
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7336 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7336 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746931
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7336; /* rgb */ color: rgb(31, 115, 54); /* oklch */ color: oklch(49.1% 0.123 148.5);
Tailwind
colors: {
custom: {
50: '#679c6e',
500: '#1f7336',
950: '#000000',
},
}SCSS
$custom: #1f7336; $custom-light: #679c6e; $custom-dark: #000000;
JSON
{
"hex": "#1f7336",
"rgb": {
"r": 31,
"g": 115,
"b": 54
},
"hsl": {
"h": 136.429,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.4911,
"c": 0.1231,
"h": 148.5
},
"luminance": 0.12819
}Semantic roles & 50–950 ramp
primary
#1F7336
secondary
#A7478D
accent
#47B7E1
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A