#1F7323#1F7323
#1F7323 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.140 H 143.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7323 |
|---|---|
| RGB | rgb(31, 115, 35) |
| HSL | hsl(123, 58%, 29%) |
| HSV | hsv(123, 73%, 45%) |
| CMYK | cmyk(73%, 0%, 69.6%, 54.9%) |
| CIE-LAB | lab(42.27, -41.58, 35.87) |
| CIE-LCH | lch(42.27, 54.92, 139.21°) |
| OKLab | oklab(48.86% -0.1127 0.0828) |
| OKLCH | oklch(48.86% 0.14 143.7) |
| XYZ | xyz(6.9987, 12.6734, 3.6671) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.00
Tree Green
#2A7E19
ΔE00 4.71
Darkgreen
#006400
ΔE00 5.68
Green
#008000
ΔE00 5.95
Jungle Green
#048243
ΔE00 7.05
Dark Grass Green
#388004
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7323 #731F6F
analogous
#45731F #1F7323 #1F734D
triadic
#1F7323 #231F73 #73231F
tetradic
#1F7323 #1F4573 #731F6F #734D1F
square
#1F7323 #1F4573 #731F6F #734D1F
split-complementary
#1F7323 #4D1F73 #731F45
monochromatic
#061807 #124314 #1F7323 #2CA332 #41CC47
Accessibility & contrast
On white
5.94
#1F7323 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#1F7323 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7323
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7323 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7323 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756818
Deuteranopia (green-blind)
#6C612A
Tritanopia (blue-blind)
#037063
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7323; /* rgb */ color: rgb(31, 115, 35); /* oklch */ color: oklch(48.9% 0.140 143.7);
Tailwind
colors: {
custom: {
50: '#689c62',
500: '#1f7323',
950: '#000000',
},
}SCSS
$custom: #1f7323; $custom-light: #689c62; $custom-dark: #000000;
JSON
{
"hex": "#1f7323",
"rgb": {
"r": 31,
"g": 115,
"b": 35
},
"hsl": {
"h": 122.857,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.48856,
"c": 0.13984,
"h": 143.7
},
"luminance": 0.12674
}Semantic roles & 50–950 ramp
primary
#1F7323
secondary
#A747A2
accent
#47D9E1
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79