#266912#266912
#266912 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.136 H 139.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #266912 |
|---|---|
| RGB | rgb(38, 105, 18) |
| HSL | hsl(106, 71%, 24%) |
| HSV | hsv(106, 83%, 41%) |
| CMYK | cmyk(63.8%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(38.83, -37.68, 39.27) |
| CIE-LCH | lch(38.83, 54.43, 133.81°) |
| OKLab | oklab(46.02% -0.1035 0.0875) |
| OKLCH | oklch(46.02% 0.136 139.8) |
| XYZ | xyz(5.9598, 10.5583, 2.2960) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.95
Deep Green
#02590F
ΔE00 5.99
Forest
#0B5509
ΔE00 6.79
Tree Green
#2A7E19
ΔE00 7.18
Forest Green
#2D5A27
ΔE00 7.32
Darkish Green
#287C37
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266912 #551269
analogous
#526912 #266912 #12692A
triadic
#266912 #122669 #691226
tetradic
#266912 #125269 #551269 #692A12
square
#266912 #125269 #551269 #692A12
split-complementary
#266912 #2A1269 #691252
monochromatic
#091A04 #133509 #266912 #399D1B #4CD124
Accessibility & contrast
On white
6.75
#266912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#266912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266912
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266912 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#1D6559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #266912; /* rgb */ color: rgb(38, 105, 18); /* oklch */ color: oklch(46.0% 0.136 139.8);
Tailwind
colors: {
custom: {
50: '#6a9558',
500: '#266912',
950: '#000000',
},
}SCSS
$custom: #266912; $custom-light: #6a9558; $custom-dark: #000000;
JSON
{
"hex": "#266912",
"rgb": {
"r": 38,
"g": 105,
"b": 18
},
"hsl": {
"h": 106.207,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.46023,
"c": 0.13554,
"h": 139.8
},
"luminance": 0.10559
}Semantic roles & 50–950 ramp
primary
#266912
secondary
#8836A1
accent
#3AEDC4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79