#266B17#266B17
#266B17 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.135 H 140.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #266B17 |
|---|---|
| RGB | rgb(38, 107, 23) |
| HSL | hsl(109, 65%, 25%) |
| HSV | hsv(109, 79%, 42%) |
| CMYK | cmyk(64.5%, 0%, 78.5%, 58%) |
| CIE-LAB | lab(39.56, -38.09, 38.17) |
| CIE-LCH | lch(39.56, 53.93, 134.94°) |
| OKLab | oklab(46.64% -0.1043 0.0859) |
| OKLCH | oklch(46.64% 0.135 140.5) |
| XYZ | xyz(6.2114, 10.9887, 2.6042) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.41
Deep Green
#02590F
ΔE00 6.39
Tree Green
#2A7E19
ΔE00 6.60
Darkish Green
#287C37
ΔE00 6.89
Forest
#0B5509
ΔE00 7.31
Forest Green
#2D5A27
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266B17 #5C176B
analogous
#506B17 #266B17 #176B32
triadic
#266B17 #17266B #6B1726
tetradic
#266B17 #17506B #5C176B #6B3217
square
#266B17 #17506B #5C176B #6B3217
split-complementary
#266B17 #32176B #6B1750
monochromatic
#091905 #14390C #266B17 #389D22 #4AD02D
Accessibility & contrast
On white
6.57
#266B17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#266B17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266B17
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266B17 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#1C675B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #266b17; /* rgb */ color: rgb(38, 107, 23); /* oklch */ color: oklch(46.6% 0.135 140.5);
Tailwind
colors: {
custom: {
50: '#6a965b',
500: '#266b17',
950: '#000000',
},
}SCSS
$custom: #266b17; $custom-light: #6a965b; $custom-dark: #000000;
JSON
{
"hex": "#266b17",
"rgb": {
"r": 38,
"g": 107,
"b": 23
},
"hsl": {
"h": 109.286,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.4664,
"c": 0.13518,
"h": 140.5
},
"luminance": 0.10989
}Semantic roles & 50–950 ramp
primary
#266B17
secondary
#8F3DA1
accent
#40E8CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79