#266E28#266E28
#266E28 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.126 H 143.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #266E28 |
|---|---|
| RGB | rgb(38, 110, 40) |
| HSL | hsl(122, 49%, 29%) |
| HSV | hsv(122, 65%, 43%) |
| CMYK | cmyk(65.5%, 0%, 63.6%, 56.9%) |
| CIE-LAB | lab(40.76, -37.52, 31.87) |
| CIE-LCH | lch(40.76, 49.23, 139.66°) |
| OKLab | oklab(47.68% -0.1018 0.0748) |
| OKLCH | oklch(47.68% 0.126 143.7) |
| XYZ | xyz(6.7579, 11.7165, 3.9124) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.95
Darkgreen
#006400
ΔE00 5.32
Tree Green
#2A7E19
ΔE00 6.68
Deep Green
#02590F
ΔE00 7.18
Forest Green
#2D5A27
ΔE00 7.25
Pine
#2B5D34
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266E28 #6E266C
analogous
#486E26 #266E28 #266E4C
triadic
#266E28 #28266E #6E2826
tetradic
#266E28 #26486E #6E266C #6E4C26
square
#266E28 #26486E #6E266C #6E4C26
split-complementary
#266E28 #4C266E #6E2648
monochromatic
#081708 #164117 #266E28 #369B39 #4DC150
Accessibility & contrast
On white
6.28
#266E28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#266E28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266E28
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266E28 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706420
Deuteranopia (green-blind)
#675E2E
Tritanopia (blue-blind)
#176B5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #266e28; /* rgb */ color: rgb(38, 110, 40); /* oklch */ color: oklch(47.7% 0.126 143.7);
Tailwind
colors: {
custom: {
50: '#6a9865',
500: '#266e28',
950: '#000000',
},
}SCSS
$custom: #266e28; $custom-light: #6a9865; $custom-dark: #000000;
JSON
{
"hex": "#266e28",
"rgb": {
"r": 38,
"g": 110,
"b": 40
},
"hsl": {
"h": 121.667,
"s": 48.649,
"l": 29.02
},
"oklch": {
"l": 0.47681,
"c": 0.12634,
"h": 143.7
},
"luminance": 0.11717
}Semantic roles & 50–950 ramp
primary
#266E28
secondary
#A14F9E
accent
#50D4D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A