#266F20#266F20
#266F20 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.134 H 142.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #266F20 |
|---|---|
| RGB | rgb(38, 111, 32) |
| HSL | hsl(115, 55%, 28%) |
| HSV | hsv(115, 71%, 44%) |
| CMYK | cmyk(65.8%, 0%, 71.2%, 56.5%) |
| CIE-LAB | lab(41.03, -38.83, 35.94) |
| CIE-LCH | lch(41.03, 52.91, 137.21°) |
| OKLab | oklab(47.88% -0.1058 0.0825) |
| OKLCH | oklch(47.88% 0.134 142) |
| XYZ | xyz(6.7441, 11.8846, 3.3048) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.69
Darkish Green
#287C37
ΔE00 5.23
Tree Green
#2A7E19
ΔE00 5.63
Green
#008000
ΔE00 6.95
Deep Green
#02590F
ΔE00 7.44
Dark Grass Green
#388004
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266F20 #69206F
analogous
#4D6F20 #266F20 #206F41
triadic
#266F20 #20266F #6F2026
tetradic
#266F20 #204D6F #69206F #6F4120
square
#266F20 #204D6F #69206F #6F4120
split-complementary
#266F20 #41206F #6F204D
monochromatic
#081807 #163F12 #266F20 #369F2E #4BC841
Accessibility & contrast
On white
6.22
#266F20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#266F20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266F20
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266F20 | 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)
#726415
Deuteranopia (green-blind)
#695E27
Tritanopia (blue-blind)
#196C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #266f20; /* rgb */ color: rgb(38, 111, 32); /* oklch */ color: oklch(47.9% 0.134 142.0);
Tailwind
colors: {
custom: {
50: '#6a9960',
500: '#266f20',
950: '#000000',
},
}SCSS
$custom: #266f20; $custom-light: #6a9960; $custom-dark: #000000;
JSON
{
"hex": "#266f20",
"rgb": {
"r": 38,
"g": 111,
"b": 32
},
"hsl": {
"h": 115.443,
"s": 55.245,
"l": 28.039
},
"oklch": {
"l": 0.47879,
"c": 0.1342,
"h": 142
},
"luminance": 0.11885
}Semantic roles & 50–950 ramp
primary
#266F20
secondary
#9C48A3
accent
#49DFD3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79