#266915#266915
#266915 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.134 H 140.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #266915 |
|---|---|
| RGB | rgb(38, 105, 21) |
| HSL | hsl(108, 67%, 25%) |
| HSV | hsv(108, 80%, 41%) |
| CMYK | cmyk(63.8%, 0%, 80%, 58.8%) |
| CIE-LAB | lab(38.84, -37.47, 38.22) |
| CIE-LCH | lch(38.84, 53.52, 134.43°) |
| OKLab | oklab(46.04% -0.1028 0.0857) |
| OKLCH | oklch(46.04% 0.134 140.2) |
| XYZ | xyz(5.9860, 10.5688, 2.4339) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.03
Deep Green
#02590F
ΔE00 5.86
Forest
#0B5509
ΔE00 6.71
Forest Green
#2D5A27
ΔE00 7.07
Tree Green
#2A7E19
ΔE00 7.23
Darkish Green
#287C37
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266915 #581569
analogous
#506915 #266915 #15692E
triadic
#266915 #152669 #691526
tetradic
#266915 #155069 #581569 #692E15
square
#266915 #155069 #581569 #692E15
split-complementary
#266915 #2E1569 #691550
monochromatic
#091A05 #14360B #266915 #389C1F #4BCF29
Accessibility & contrast
On white
6.74
#266915 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#266915 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266915
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266915 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#1D6559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #266915; /* rgb */ color: rgb(38, 105, 21); /* oklch */ color: oklch(46.0% 0.134 140.2);
Tailwind
colors: {
custom: {
50: '#6a9559',
500: '#266915',
950: '#000000',
},
}SCSS
$custom: #266915; $custom-light: #6a9559; $custom-dark: #000000;
JSON
{
"hex": "#266915",
"rgb": {
"r": 38,
"g": 105,
"b": 21
},
"hsl": {
"h": 107.857,
"s": 66.667,
"l": 24.706
},
"oklch": {
"l": 0.46043,
"c": 0.13385,
"h": 140.2
},
"luminance": 0.10569
}Semantic roles & 50–950 ramp
primary
#266915
secondary
#8B3AA0
accent
#3EEAC7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79