#266F22#266F22
#266F22 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.133 H 142.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #266F22 |
|---|---|
| RGB | rgb(38, 111, 34) |
| HSL | hsl(117, 53%, 28%) |
| HSV | hsv(117, 69%, 44%) |
| CMYK | cmyk(65.8%, 0%, 69.4%, 56.5%) |
| CIE-LAB | lab(41.05, -38.62, 35.06) |
| CIE-LCH | lch(41.05, 52.16, 137.77°) |
| OKLab | oklab(47.9% -0.1051 0.0809) |
| OKLCH | oklch(47.9% 0.133 142.4) |
| XYZ | xyz(6.7721, 11.8958, 3.4523) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.84
Darkish Green
#287C37
ΔE00 5.06
Tree Green
#2A7E19
ΔE00 5.78
Green
#008000
ΔE00 7.12
Deep Green
#02590F
ΔE00 7.43
Dark Grass Green
#388004
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266F22 #6B226F
analogous
#4C6F22 #266F22 #226F44
triadic
#266F22 #22266F #6F2226
tetradic
#266F22 #224C6F #6B226F #6F4422
square
#266F22 #224C6F #6B226F #6F4422
split-complementary
#266F22 #44226F #6F224C
monochromatic
#081707 #164014 #266F22 #369E30 #4CC645
Accessibility & contrast
On white
6.21
#266F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#266F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266F22
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266F22 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#695E29
Tritanopia (blue-blind)
#186C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #266f22; /* rgb */ color: rgb(38, 111, 34); /* oklch */ color: oklch(47.9% 0.133 142.4);
Tailwind
colors: {
custom: {
50: '#6a9961',
500: '#266f22',
950: '#000000',
},
}SCSS
$custom: #266f22; $custom-light: #6a9961; $custom-dark: #000000;
JSON
{
"hex": "#266f22",
"rgb": {
"r": 38,
"g": 111,
"b": 34
},
"hsl": {
"h": 116.883,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.47899,
"c": 0.13266,
"h": 142.4
},
"luminance": 0.11896
}Semantic roles & 50–950 ramp
primary
#266F22
secondary
#9E4AA2
accent
#4BDDD5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79