#266E1F#266E1F
#266E1F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.134 H 141.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #266E1F |
|---|---|
| RGB | rgb(38, 110, 31) |
| HSL | hsl(115, 56%, 28%) |
| HSV | hsv(115, 72%, 43%) |
| CMYK | cmyk(65.5%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(40.67, -38.54, 36.01) |
| CIE-LCH | lch(40.67, 52.74, 136.95°) |
| OKLab | oklab(47.58% -0.1051 0.0825) |
| OKLCH | oklch(47.58% 0.134 141.9) |
| XYZ | xyz(6.6222, 11.6622, 3.1981) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.42
Darkish Green
#287C37
ΔE00 5.55
Tree Green
#2A7E19
ΔE00 5.91
Deep Green
#02590F
ΔE00 7.14
Green
#008000
ΔE00 7.20
Forest Green
#2D5A27
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266E1F #671F6E
analogous
#4D6E1F #266E1F #1F6E40
triadic
#266E1F #1F266E #6E1F26
tetradic
#266E1F #1F4D6E #671F6E #6E401F
square
#266E1F #1F4D6E #671F6E #6E401F
split-complementary
#266E1F #401F6E #6E1F4D
monochromatic
#081807 #163E12 #266E1F #369E2C #4BC93F
Accessibility & contrast
On white
6.30
#266E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#266E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266E1F
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266E1F | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#196B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #266e1f; /* rgb */ color: rgb(38, 110, 31); /* oklch */ color: oklch(47.6% 0.134 141.9);
Tailwind
colors: {
custom: {
50: '#6a985f',
500: '#266e1f',
950: '#000000',
},
}SCSS
$custom: #266e1f; $custom-light: #6a985f; $custom-dark: #000000;
JSON
{
"hex": "#266e1f",
"rgb": {
"r": 38,
"g": 110,
"b": 31
},
"hsl": {
"h": 114.684,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.4758,
"c": 0.13362,
"h": 141.9
},
"luminance": 0.11663
}Semantic roles & 50–950 ramp
primary
#266E1F
secondary
#9A47A2
accent
#48DFD2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79