#1A7F2D#1A7F2D
#1A7F2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.149 H 145.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1A7F2D |
|---|---|
| RGB | rgb(26, 127, 45) |
| HSL | hsl(131, 66%, 30%) |
| HSV | hsv(131, 80%, 50%) |
| CMYK | cmyk(79.5%, 0%, 64.6%, 50.2%) |
| CIE-LAB | lab(46.43, -45.59, 35.81) |
| CIE-LCH | lch(46.43, 57.97, 141.85°) |
| OKLab | oklab(52.31% -0.1229 0.0838) |
| OKLCH | oklch(52.31% 0.149 145.7) |
| XYZ | xyz(8.4884, 15.5868, 5.0433) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.33
Tree Green
#2A7E19
ΔE00 3.42
Jungle Green
#048243
ΔE00 4.32
Green
#008000
ΔE00 4.53
Forestgreen (CSS)
#228B22
ΔE00 5.14
Dark Grass Green
#388004
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A7F2D #7F1A6C
analogous
#3A7F1A #1A7F2D #1A7F5F
triadic
#1A7F2D #2D1A7F #7F2D1A
tetradic
#1A7F2D #1A3A7F #7F1A6C #7F5F1A
square
#1A7F2D #1A3A7F #7F1A6C #7F5F1A
split-complementary
#1A7F2D #5F1A7F #7F1A3A
monochromatic
#051909 #104C1B #1A7F2D #24B23F #3CD759
Accessibility & contrast
On white
5.10
#1A7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#1A7F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1A7F2D
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A7F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A7F2D | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1a7f2d; /* rgb */ color: rgb(26, 127, 45); /* oklch */ color: oklch(52.3% 0.149 145.7);
Tailwind
colors: {
custom: {
50: '#69a569',
500: '#1a7f2d',
950: '#000000',
},
}SCSS
$custom: #1a7f2d; $custom-light: #69a569; $custom-dark: #000000;
JSON
{
"hex": "#1a7f2d",
"rgb": {
"r": 26,
"g": 127,
"b": 45
},
"hsl": {
"h": 131.287,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.52309,
"c": 0.14873,
"h": 145.7
},
"luminance": 0.15588
}Semantic roles & 50–950 ramp
primary
#1A7F2D
secondary
#B3429E
accent
#3FC9E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A