#266918#266918
#266918 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.132 H 140.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #266918 |
|---|---|
| RGB | rgb(38, 105, 24) |
| HSL | hsl(110, 63%, 25%) |
| HSV | hsv(110, 77%, 41%) |
| CMYK | cmyk(63.8%, 0%, 77.1%, 58.8%) |
| CIE-LAB | lab(38.86, -37.23, 37.08) |
| CIE-LCH | lch(38.86, 52.55, 135.11°) |
| OKLab | oklab(46.07% -0.102 0.0838) |
| OKLCH | oklch(46.07% 0.132 140.6) |
| XYZ | xyz(6.0155, 10.5806, 2.5892) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.17
Deep Green
#02590F
ΔE00 5.76
Forest
#0B5509
ΔE00 6.65
Forest Green
#2D5A27
ΔE00 6.81
Darkish Green
#287C37
ΔE00 7.30
Tree Green
#2A7E19
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266918 #5B1869
analogous
#4E6918 #266918 #186933
triadic
#266918 #182669 #691826
tetradic
#266918 #184E69 #5B1869 #693318
square
#266918 #184E69 #5B1869 #693318
split-complementary
#266918 #331869 #69184E
monochromatic
#091906 #14370D #266918 #389B23 #4ACD2F
Accessibility & contrast
On white
6.74
#266918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#266918 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266918
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266918 | 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)
#6C5F09
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#1C6559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #266918; /* rgb */ color: rgb(38, 105, 24); /* oklch */ color: oklch(46.1% 0.132 140.6);
Tailwind
colors: {
custom: {
50: '#6a955b',
500: '#266918',
950: '#000000',
},
}SCSS
$custom: #266918; $custom-light: #6a955b; $custom-dark: #000000;
JSON
{
"hex": "#266918",
"rgb": {
"r": 38,
"g": 105,
"b": 24
},
"hsl": {
"h": 109.63,
"s": 62.791,
"l": 25.294
},
"oklch": {
"l": 0.46067,
"c": 0.13198,
"h": 140.6
},
"luminance": 0.10581
}Semantic roles & 50–950 ramp
primary
#266918
secondary
#8E3E9F
accent
#42E6CA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79