#266812#266812
#266812 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.7% C 0.134 H 139.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #266812 |
|---|---|
| RGB | rgb(38, 104, 18) |
| HSL | hsl(106, 70%, 24%) |
| HSV | hsv(106, 83%, 41%) |
| CMYK | cmyk(63.5%, 0%, 82.7%, 59.2%) |
| CIE-LAB | lab(38.47, -37.29, 38.94) |
| CIE-LCH | lch(38.47, 53.91, 133.76°) |
| OKLab | oklab(45.73% -0.1025 0.0868) |
| OKLCH | oklch(45.73% 0.134 139.7) |
| XYZ | xyz(5.8586, 10.3558, 2.2623) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.83
Deep Green
#02590F
ΔE00 5.70
Forest
#0B5509
ΔE00 6.47
Forest Green
#2D5A27
ΔE00 7.04
Tree Green
#2A7E19
ΔE00 7.51
Camouflage Green
#4B6113
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266812 #541268
analogous
#516812 #266812 #126829
triadic
#266812 #122668 #681226
tetradic
#266812 #125168 #541268 #682912
square
#266812 #125168 #541268 #682912
split-complementary
#266812 #291268 #681251
monochromatic
#0A1A05 #133409 #266812 #399C1B #4CD024
Accessibility & contrast
On white
6.84
#266812 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#266812 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266812
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266812 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#1D6458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #266812; /* rgb */ color: rgb(38, 104, 18); /* oklch */ color: oklch(45.7% 0.134 139.7);
Tailwind
colors: {
custom: {
50: '#6a9458',
500: '#266812',
950: '#000000',
},
}SCSS
$custom: #266812; $custom-light: #6a9458; $custom-dark: #000000;
JSON
{
"hex": "#266812",
"rgb": {
"r": 38,
"g": 104,
"b": 18
},
"hsl": {
"h": 106.047,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45731,
"c": 0.13429,
"h": 139.7
},
"luminance": 0.10356
}Semantic roles & 50–950 ramp
primary
#266812
secondary
#8736A0
accent
#3BEDC4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79