#266F1F#266F1F
#266F1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.135 H 141.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #266F1F |
|---|---|
| RGB | rgb(38, 111, 31) |
| HSL | hsl(115, 56%, 28%) |
| HSV | hsv(115, 72%, 44%) |
| CMYK | cmyk(65.8%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(41.02, -38.93, 36.38) |
| CIE-LCH | lch(41.02, 53.28, 136.94°) |
| OKLab | oklab(47.87% -0.1061 0.0833) |
| OKLCH | oklch(47.87% 0.135 141.9) |
| XYZ | xyz(6.7307, 11.8792, 3.2343) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.62
Darkish Green
#287C37
ΔE00 5.31
Tree Green
#2A7E19
ΔE00 5.57
Green
#008000
ΔE00 6.87
Deep Green
#02590F
ΔE00 7.46
Dark Grass Green
#388004
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266F1F #681F6F
analogous
#4E6F1F #266F1F #1F6F40
triadic
#266F1F #1F266F #6F1F26
tetradic
#266F1F #1F4E6F #681F6F #6F401F
square
#266F1F #1F4E6F #681F6F #6F401F
split-complementary
#266F1F #401F6F #6F1F4E
monochromatic
#081807 #163F12 #266F1F #369F2C #4BC93F
Accessibility & contrast
On white
6.22
#266F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#266F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266F1F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266F1F | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726413
Deuteranopia (green-blind)
#695E27
Tritanopia (blue-blind)
#196B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #266f1f; /* rgb */ color: rgb(38, 111, 31); /* oklch */ color: oklch(47.9% 0.135 141.9);
Tailwind
colors: {
custom: {
50: '#6b995f',
500: '#266f1f',
950: '#000000',
},
}SCSS
$custom: #266f1f; $custom-light: #6b995f; $custom-dark: #000000;
JSON
{
"hex": "#266f1f",
"rgb": {
"r": 38,
"g": 111,
"b": 31
},
"hsl": {
"h": 114.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.47869,
"c": 0.13494,
"h": 141.9
},
"luminance": 0.1188
}Semantic roles & 50–950 ramp
primary
#266F1F
secondary
#9B47A3
accent
#48E0D2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79