#266F12#266F12
#266F12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.143 H 140.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #266F12 |
|---|---|
| RGB | rgb(38, 111, 18) |
| HSL | hsl(107, 72%, 25%) |
| HSV | hsv(107, 84%, 44%) |
| CMYK | cmyk(65.8%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(40.94, -39.97, 41.27) |
| CIE-LCH | lch(40.94, 57.45, 134.09°) |
| OKLab | oklab(47.77% -0.1097 0.0916) |
| OKLCH | oklch(47.77% 0.143 140.1) |
| XYZ | xyz(6.5926, 11.8240, 2.5070) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.25
Tree Green
#2A7E19
ΔE00 5.16
Green
#008000
ΔE00 6.21
Darkish Green
#287C37
ΔE00 6.44
Dark Grass Green
#388004
ΔE00 6.71
Deep Green
#02590F
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#266F12 #5B126F
analogous
#546F12 #266F12 #126F2D
triadic
#266F12 #12266F #6F1226
tetradic
#266F12 #12546F #5B126F #6F2D12
square
#266F12 #12546F #5B126F #6F2D12
split-complementary
#266F12 #2D126F #6F1254
monochromatic
#091A04 #143A09 #266F12 #38A41B #4AD823
Accessibility & contrast
On white
6.24
#266F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#266F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #266F12
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##266F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##266F12 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#1B6B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #266f12; /* rgb */ color: rgb(38, 111, 18); /* oklch */ color: oklch(47.8% 0.143 140.1);
Tailwind
colors: {
custom: {
50: '#6b9959',
500: '#266f12',
950: '#000000',
},
}SCSS
$custom: #266f12; $custom-light: #6b9959; $custom-dark: #000000;
JSON
{
"hex": "#266f12",
"rgb": {
"r": 38,
"g": 111,
"b": 18
},
"hsl": {
"h": 107.097,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47767,
"c": 0.14294,
"h": 140.1
},
"luminance": 0.11825
}Semantic roles & 50–950 ramp
primary
#266F12
secondary
#8E37A6
accent
#39EFC8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79