#266917#266917
#266917 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.133 H 140.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #266917 |
|---|---|
| RGB | rgb(38, 105, 23) |
| HSL | hsl(109, 64%, 25%) |
| HSV | hsv(109, 78%, 41%) |
| CMYK | cmyk(63.8%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(38.86, -37.31, 37.47) |
| CIE-LCH | lch(38.86, 52.88, 134.88°) |
| OKLab | oklab(46.06% -0.1022 0.0845) |
| OKLCH | oklch(46.06% 0.133 140.4) |
| XYZ | xyz(6.0053, 10.5765, 2.5355) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.12
Deep Green
#02590F
ΔE00 5.79
Forest
#0B5509
ΔE00 6.67
Forest Green
#2D5A27
ΔE00 6.90
Tree Green
#2A7E19
ΔE00 7.28
Darkish Green
#287C37
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266917 #5A1769
analogous
#4F6917 #266917 #176931
triadic
#266917 #172669 #691726
tetradic
#266917 #174F69 #5A1769 #693117
square
#266917 #174F69 #5A1769 #693117
split-complementary
#266917 #311769 #69174F
monochromatic
#091905 #14370C #266917 #389B22 #4ACD2D
Accessibility & contrast
On white
6.74
#266917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#266917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266917
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266917 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#1D6559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #266917; /* rgb */ color: rgb(38, 105, 23); /* oklch */ color: oklch(46.1% 0.133 140.4);
Tailwind
colors: {
custom: {
50: '#6a955a',
500: '#266917',
950: '#000000',
},
}SCSS
$custom: #266917; $custom-light: #6a955a; $custom-dark: #000000;
JSON
{
"hex": "#266917",
"rgb": {
"r": 38,
"g": 105,
"b": 23
},
"hsl": {
"h": 109.024,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.46059,
"c": 0.13263,
"h": 140.4
},
"luminance": 0.10577
}Semantic roles & 50–950 ramp
primary
#266917
secondary
#8D3D9F
accent
#41E7C9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79