#266F18#266F18
#266F18 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.140 H 140.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #266F18 |
|---|---|
| RGB | rgb(38, 111, 24) |
| HSL | hsl(110, 64%, 26%) |
| HSV | hsv(110, 78%, 44%) |
| CMYK | cmyk(65.8%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(40.97, -39.55, 39.19) |
| CIE-LCH | lch(40.97, 55.68, 135.26°) |
| OKLab | oklab(47.81% -0.1082 0.0882) |
| OKLCH | oklch(47.81% 0.14 140.8) |
| XYZ | xyz(6.6483, 11.8463, 2.8002) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.32
Tree Green
#2A7E19
ΔE00 5.26
Darkish Green
#287C37
ΔE00 5.93
Green
#008000
ΔE00 6.43
Dark Grass Green
#388004
ΔE00 7.04
Deep Green
#02590F
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266F18 #61186F
analogous
#526F18 #266F18 #186F36
triadic
#266F18 #18266F #6F1826
tetradic
#266F18 #18526F #61186F #6F3618
square
#266F18 #18526F #61186F #6F3618
split-complementary
#266F18 #36186F #6F1852
monochromatic
#091905 #153D0D #266F18 #37A123 #4AD22F
Accessibility & contrast
On white
6.23
#266F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#266F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266F18
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266F18 | 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)
#726406
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#1A6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #266f18; /* rgb */ color: rgb(38, 111, 24); /* oklch */ color: oklch(47.8% 0.140 140.8);
Tailwind
colors: {
custom: {
50: '#6b995c',
500: '#266f18',
950: '#000000',
},
}SCSS
$custom: #266f18; $custom-light: #6b995c; $custom-dark: #000000;
JSON
{
"hex": "#266f18",
"rgb": {
"r": 38,
"g": 111,
"b": 24
},
"hsl": {
"h": 110.345,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.47808,
"c": 0.13962,
"h": 140.8
},
"luminance": 0.11847
}Semantic roles & 50–950 ramp
primary
#266F18
secondary
#943EA5
accent
#40E7CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79