#26781F#26781F
#26781F is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.146 H 142.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #26781F |
|---|---|
| RGB | rgb(38, 120, 31) |
| HSL | hsl(115, 59%, 30%) |
| HSV | hsv(115, 74%, 47%) |
| CMYK | cmyk(68.3%, 0%, 74.2%, 52.9%) |
| CIE-LAB | lab(44.15, -42.34, 39.65) |
| CIE-LCH | lch(44.15, 58.00, 136.88°) |
| OKLab | oklab(50.46% -0.1154 0.0902) |
| OKLCH | oklch(50.46% 0.146 142) |
| XYZ | xyz(7.7627, 13.9431, 3.5783) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.51
Darkish Green
#287C37
ΔE00 3.93
Green
#008000
ΔE00 4.07
Dark Grass Green
#388004
ΔE00 5.02
Forestgreen (CSS)
#228B22
ΔE00 6.75
Darkgreen
#006400
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26781F #711F78
analogous
#53781F #26781F #1F7845
triadic
#26781F #1F2678 #781F26
tetradic
#26781F #1F5378 #711F78 #78451F
square
#26781F #1F5378 #711F78 #78451F
split-complementary
#26781F #451F78 #781F53
monochromatic
#081806 #174712 #26781F #35A92C #4ECE43
Accessibility & contrast
On white
5.54
#26781F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#26781F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #26781F
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26781F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26781F | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#157466
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #26781f; /* rgb */ color: rgb(38, 120, 31); /* oklch */ color: oklch(50.5% 0.146 142.0);
Tailwind
colors: {
custom: {
50: '#6da060',
500: '#26781f',
950: '#000000',
},
}SCSS
$custom: #26781f; $custom-light: #6da060; $custom-dark: #000000;
JSON
{
"hex": "#26781f",
"rgb": {
"r": 38,
"g": 120,
"b": 31
},
"hsl": {
"h": 115.281,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.50457,
"c": 0.14642,
"h": 142
},
"luminance": 0.13944
}Semantic roles & 50–950 ramp
primary
#26781F
secondary
#A447AB
accent
#46E2D6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79