#266E18#266E18
#266E18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.138 H 140.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #266E18 |
|---|---|
| RGB | rgb(38, 110, 24) |
| HSL | hsl(110, 64%, 26%) |
| HSV | hsv(110, 78%, 43%) |
| CMYK | cmyk(65.5%, 0%, 78.2%, 56.9%) |
| CIE-LAB | lab(40.62, -39.17, 38.84) |
| CIE-LCH | lch(40.62, 55.16, 135.24°) |
| OKLab | oklab(47.52% -0.1072 0.0875) |
| OKLCH | oklch(47.52% 0.138 140.8) |
| XYZ | xyz(6.5398, 11.6293, 2.7640) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.07
Tree Green
#2A7E19
ΔE00 5.60
Darkish Green
#287C37
ΔE00 6.14
Green
#008000
ΔE00 6.76
Deep Green
#02590F
ΔE00 7.30
Dark Grass Green
#388004
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266E18 #60186E
analogous
#516E18 #266E18 #186E35
triadic
#266E18 #18266E #6E1826
tetradic
#266E18 #18516E #60186E #6E3518
square
#266E18 #18516E #60186E #6E3518
split-complementary
#266E18 #35186E #6E1851
monochromatic
#091905 #153C0D #266E18 #37A023 #49D22F
Accessibility & contrast
On white
6.31
#266E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#266E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266E18
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266E18 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716307
Deuteranopia (green-blind)
#685E21
Tritanopia (blue-blind)
#1B6A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #266e18; /* rgb */ color: rgb(38, 110, 24); /* oklch */ color: oklch(47.5% 0.138 140.8);
Tailwind
colors: {
custom: {
50: '#6b985b',
500: '#266e18',
950: '#000000',
},
}SCSS
$custom: #266e18; $custom-light: #6b985b; $custom-dark: #000000;
JSON
{
"hex": "#266e18",
"rgb": {
"r": 38,
"g": 110,
"b": 24
},
"hsl": {
"h": 110.233,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.47519,
"c": 0.13837,
"h": 140.8
},
"luminance": 0.1163
}Semantic roles & 50–950 ramp
primary
#266E18
secondary
#933EA4
accent
#41E7CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79