#1A862F#1A862F
#1A862F is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.156 H 145.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1A862F |
|---|---|
| RGB | rgb(26, 134, 47) |
| HSL | hsl(132, 68%, 31%) |
| HSV | hsv(132, 81%, 53%) |
| CMYK | cmyk(80.6%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(48.85, -47.79, 37.60) |
| CIE-LCH | lch(48.85, 60.81, 141.80°) |
| OKLab | oklab(54.33% -0.1288 0.0878) |
| OKLCH | oklch(54.33% 0.156 145.7) |
| XYZ | xyz(9.4635, 17.4739, 5.5628) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.05
Tree Green
#2A7E19
ΔE00 4.11
Emerald Green
#028F1E
ΔE00 4.14
Darkish Green
#287C37
ΔE00 4.22
Kelley Green
#009337
ΔE00 4.57
Green
#008000
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A862F #861A71
analogous
#3B861A #1A862F #1A8665
triadic
#1A862F #2F1A86 #862F1A
tetradic
#1A862F #1A3B86 #861A71 #86651A
square
#1A862F #1A3B86 #861A71 #86651A
split-complementary
#1A862F #651A86 #861A3B
monochromatic
#061F0B #10531D #1A862F #24B941 #40DA5E
Accessibility & contrast
On white
4.67
#1A862F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#1A862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1A862F
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A862F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A862F | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#7C7137
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1a862f; /* rgb */ color: rgb(26, 134, 47); /* oklch */ color: oklch(54.3% 0.156 145.7);
Tailwind
colors: {
custom: {
50: '#6baa6b',
500: '#1a862f',
950: '#000000',
},
}SCSS
$custom: #1a862f; $custom-light: #6baa6b; $custom-dark: #000000;
JSON
{
"hex": "#1a862f",
"rgb": {
"r": 26,
"g": 134,
"b": 47
},
"hsl": {
"h": 131.667,
"s": 67.5,
"l": 31.373
},
"oklch": {
"l": 0.54327,
"c": 0.15587,
"h": 145.7
},
"luminance": 0.17475
}Semantic roles & 50–950 ramp
primary
#1A862F
secondary
#B942A2
accent
#3DC9EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A