#1F7233#1F7233
#1F7233 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.125 H 147.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7233 |
|---|---|
| RGB | rgb(31, 114, 51) |
| HSL | hsl(134, 57%, 28%) |
| HSV | hsv(134, 73%, 45%) |
| CMYK | cmyk(72.8%, 0%, 55.3%, 55.3%) |
| CIE-LAB | lab(42.10, -39.07, 27.71) |
| CIE-LCH | lch(42.10, 47.90, 144.65°) |
| OKLab | oklab(48.78% -0.1053 0.0667) |
| OKLCH | oklch(48.78% 0.125 147.7) |
| XYZ | xyz(7.1794, 12.5642, 5.1781) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.61
Jungle Green
#048243
ΔE00 5.81
Tree Green
#2A7E19
ΔE00 7.14
Darkgreen
#006400
ΔE00 7.34
Pine
#2B5D34
ΔE00 8.08
Spruce
#0A5F38
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7233 #721F5E
analogous
#34721F #1F7233 #1F725C
triadic
#1F7233 #331F72 #72331F
tetradic
#1F7233 #1F3472 #721F5E #725C1F
square
#1F7233 #1F3472 #721F5E #725C1F
split-complementary
#1F7233 #5C1F72 #721F34
monochromatic
#07180B #12421D #1F7233 #2CA249 #40CB62
Accessibility & contrast
On white
5.98
#1F7233 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#1F7233 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7233
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7233 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73682D
Deuteranopia (green-blind)
#696138
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1f7233; /* rgb */ color: rgb(31, 114, 51); /* oklch */ color: oklch(48.8% 0.125 147.7);
Tailwind
colors: {
custom: {
50: '#679b6c',
500: '#1f7233',
950: '#000000',
},
}SCSS
$custom: #1f7233; $custom-light: #679b6c; $custom-dark: #000000;
JSON
{
"hex": "#1f7233",
"rgb": {
"r": 31,
"g": 114,
"b": 51
},
"hsl": {
"h": 134.458,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.48775,
"c": 0.1246,
"h": 147.7
},
"luminance": 0.12565
}Semantic roles & 50–950 ramp
primary
#1F7233
secondary
#A6478F
accent
#47BCE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A