#266C17#266C17
#266C17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.136 H 140.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #266C17 |
|---|---|
| RGB | rgb(38, 108, 23) |
| HSL | hsl(109, 65%, 26%) |
| HSV | hsv(109, 79%, 42%) |
| CMYK | cmyk(64.8%, 0%, 78.7%, 57.6%) |
| CIE-LAB | lab(39.91, -38.48, 38.52) |
| CIE-LCH | lch(39.91, 54.45, 134.97°) |
| OKLab | oklab(46.93% -0.1054 0.0867) |
| OKLCH | oklch(46.93% 0.136 140.6) |
| XYZ | xyz(6.3162, 11.1985, 2.6391) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.60
Tree Green
#2A7E19
ΔE00 6.26
Darkish Green
#287C37
ΔE00 6.66
Deep Green
#02590F
ΔE00 6.70
Green
#008000
ΔE00 7.38
Forest
#0B5509
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266C17 #5D176C
analogous
#506C17 #266C17 #176C32
triadic
#266C17 #17266C #6C1726
tetradic
#266C17 #17506C #5D176C #6C3217
square
#266C17 #17506C #5D176C #6C3217
split-complementary
#266C17 #32176C #6C1750
monochromatic
#091905 #143A0C #266C17 #389E22 #4AD12C
Accessibility & contrast
On white
6.48
#266C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#266C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266C17
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266C17 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#665C20
Tritanopia (blue-blind)
#1C685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #266c17; /* rgb */ color: rgb(38, 108, 23); /* oklch */ color: oklch(46.9% 0.136 140.6);
Tailwind
colors: {
custom: {
50: '#6a975b',
500: '#266c17',
950: '#000000',
},
}SCSS
$custom: #266c17; $custom-light: #6a975b; $custom-dark: #000000;
JSON
{
"hex": "#266c17",
"rgb": {
"r": 38,
"g": 108,
"b": 23
},
"hsl": {
"h": 109.412,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.46931,
"c": 0.13645,
"h": 140.6
},
"luminance": 0.11199
}Semantic roles & 50–950 ramp
primary
#266C17
secondary
#903DA2
accent
#40E8CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79