#266138#266138
#266138 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.2% C 0.091 H 151.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #266138 |
|---|---|
| RGB | rgb(38, 97, 56) |
| HSL | hsl(138, 44%, 26%) |
| HSV | hsv(138, 61%, 38%) |
| CMYK | cmyk(60.8%, 0%, 42.3%, 62%) |
| CIE-LAB | lab(36.45, -29.39, 17.78) |
| CIE-LCH | lch(36.45, 34.35, 148.83°) |
| OKLab | oklab(44.21% -0.0796 0.0442) |
| OKLCH | oklch(44.21% 0.091 151) |
| XYZ | xyz(5.7874, 9.2465, 5.2204) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.73
Spruce
#0A5F38
ΔE00 2.69
Hunter Green
#355E3B
ΔE00 3.08
Forest Green
#2D5A27
ΔE00 4.51
Deep Green
#02590F
ΔE00 7.75
Pine Green
#0A481E
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266138 #61264F
analogous
#326126 #266138 #266156
triadic
#266138 #382661 #613826
tetradic
#266138 #263261 #61264F #615626
square
#266138 #263261 #61264F #615626
split-complementary
#266138 #562661 #612632
monochromatic
#09160D #15351F #266138 #378D51 #4AB86B
Accessibility & contrast
On white
7.37
#266138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#266138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #266138
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266138 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615935
Deuteranopia (green-blind)
#59543B
Tritanopia (blue-blind)
#165F57
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #266138; /* rgb */ color: rgb(38, 97, 56); /* oklch */ color: oklch(44.2% 0.091 151.0);
Tailwind
colors: {
custom: {
50: '#668e6f',
500: '#266138',
950: '#000000',
},
}SCSS
$custom: #266138; $custom-light: #668e6f; $custom-dark: #000000;
JSON
{
"hex": "#266138",
"rgb": {
"r": 38,
"g": 97,
"b": 56
},
"hsl": {
"h": 138.305,
"s": 43.704,
"l": 26.471
},
"oklch": {
"l": 0.4421,
"c": 0.09105,
"h": 151
},
"luminance": 0.09247
}Semantic roles & 50–950 ramp
primary
#266138
secondary
#944F7F
accent
#54ADD3
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A