#1F823C#1F823C
#1F823C is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.138 H 148.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F823C |
|---|---|
| RGB | rgb(31, 130, 60) |
| HSL | hsl(138, 61%, 32%) |
| HSV | hsv(138, 76%, 51%) |
| CMYK | cmyk(76.2%, 0%, 53.8%, 49%) |
| CIE-LAB | lab(47.73, -43.78, 29.83) |
| CIE-LCH | lch(47.73, 52.97, 145.73°) |
| OKLab | oklab(53.47% -0.1177 0.0719) |
| OKLCH | oklch(53.47% 0.138 148.6) |
| XYZ | xyz(9.3626, 16.5817, 6.9813) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.11
Darkish Green
#287C37
ΔE00 2.24
Sea Green
#2E8B57
ΔE00 5.61
Tree Green
#2A7E19
ΔE00 5.72
Forestgreen (CSS)
#228B22
ΔE00 6.01
Kelley Green
#009337
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F823C #821F65
analogous
#34821F #1F823C #1F826E
triadic
#1F823C #3C1F82 #823C1F
tetradic
#1F823C #1F3482 #821F65 #826E1F
square
#1F823C #1F3482 #821F65 #826E1F
split-complementary
#1F823C #6E1F82 #821F34
monochromatic
#071F0E #135125 #1F823C #2BB353 #48D371
Accessibility & contrast
On white
4.86
#1F823C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#1F823C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F823C
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F823C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F823C | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837636
Deuteranopia (green-blind)
#786E41
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f823c; /* rgb */ color: rgb(31, 130, 60); /* oklch */ color: oklch(53.5% 0.138 148.6);
Tailwind
colors: {
custom: {
50: '#6ba773',
500: '#1f823c',
950: '#000000',
},
}SCSS
$custom: #1f823c; $custom-light: #6ba773; $custom-dark: #000000;
JSON
{
"hex": "#1f823c",
"rgb": {
"r": 31,
"g": 130,
"b": 60
},
"hsl": {
"h": 137.576,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.53472,
"c": 0.13798,
"h": 148.6
},
"luminance": 0.16583
}Semantic roles & 50–950 ramp
primary
#1F823C
secondary
#B54895
accent
#43B5E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B