#266642#266642
#266642 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.088 H 155.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #266642 |
|---|---|
| RGB | rgb(38, 102, 66) |
| HSL | hsl(146, 46%, 27%) |
| HSV | hsv(146, 63%, 40%) |
| CMYK | cmyk(62.7%, 0%, 35.3%, 60%) |
| CIE-LAB | lab(38.39, -29.61, 14.43) |
| CIE-LCH | lch(38.39, 32.94, 154.02°) |
| OKLab | oklab(45.86% -0.0805 0.0364) |
| OKLCH | oklch(45.86% 0.088 155.7) |
| XYZ | xyz(6.5335, 10.3075, 6.7984) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.26
Pine
#2B5D34
ΔE00 3.99
Hunter Green
#355E3B
ΔE00 4.11
Forest Green
#2D5A27
ΔE00 6.91
Dark Green Blue
#1F6357
ΔE00 8.75
Deep Green
#02590F
ΔE00 9.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266642 #66264A
analogous
#2A6626 #266642 #266662
triadic
#266642 #422666 #664226
tetradic
#266642 #262A66 #66264A #666226
square
#266642 #262A66 #66264A #666226
split-complementary
#266642 #622666 #66262A
monochromatic
#08160E #153925 #266642 #37935F #4BBC7C
Accessibility & contrast
On white
6.86
#266642 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#266642 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266642
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266642 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665E40
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#0E655D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #266642; /* rgb */ color: rgb(38, 102, 66); /* oklch */ color: oklch(45.9% 0.088 155.7);
Tailwind
colors: {
custom: {
50: '#679276',
500: '#266642',
950: '#000000',
},
}SCSS
$custom: #266642; $custom-light: #679276; $custom-dark: #000000;
JSON
{
"hex": "#266642",
"rgb": {
"r": 38,
"g": 102,
"b": 66
},
"hsl": {
"h": 146.25,
"s": 45.714,
"l": 27.451
},
"oklch": {
"l": 0.4586,
"c": 0.08836,
"h": 155.7
},
"luminance": 0.10308
}Semantic roles & 50–950 ramp
primary
#266642
secondary
#994F79
accent
#529CD5
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B