#266F17#266F17
#266F17 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.140 H 140.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #266F17 |
|---|---|
| RGB | rgb(38, 111, 23) |
| HSL | hsl(110, 66%, 26%) |
| HSV | hsv(110, 79%, 44%) |
| CMYK | cmyk(65.8%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(40.96, -39.63, 39.56) |
| CIE-LCH | lch(40.96, 55.99, 135.05°) |
| OKLab | oklab(47.8% -0.1085 0.0888) |
| OKLCH | oklch(47.8% 0.14 140.7) |
| XYZ | xyz(6.6381, 11.8422, 2.7464) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.30
Tree Green
#2A7E19
ΔE00 5.23
Darkish Green
#287C37
ΔE00 6.02
Green
#008000
ΔE00 6.38
Dark Grass Green
#388004
ΔE00 6.98
Deep Green
#02590F
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266F17 #60176F
analogous
#526F17 #266F17 #176F34
triadic
#266F17 #17266F #6F1726
tetradic
#266F17 #17526F #60176F #6F3417
square
#266F17 #17526F #60176F #6F3417
split-complementary
#266F17 #34176F #6F1752
monochromatic
#091905 #153C0C #266F17 #37A222 #49D32D
Accessibility & contrast
On white
6.23
#266F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#266F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266F17
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266F17 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#1A6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #266f17; /* rgb */ color: rgb(38, 111, 23); /* oklch */ color: oklch(47.8% 0.140 140.7);
Tailwind
colors: {
custom: {
50: '#6b995b',
500: '#266f17',
950: '#000000',
},
}SCSS
$custom: #266f17; $custom-light: #6b995b; $custom-dark: #000000;
JSON
{
"hex": "#266f17",
"rgb": {
"r": 38,
"g": 111,
"b": 23
},
"hsl": {
"h": 109.773,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.47801,
"c": 0.14022,
"h": 140.7
},
"luminance": 0.11843
}Semantic roles & 50–950 ramp
primary
#266F17
secondary
#933DA5
accent
#3FE9CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79