#276F12#276F12
#276F12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.143 H 139.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #276F12 |
|---|---|
| RGB | rgb(39, 111, 18) |
| HSL | hsl(106, 72%, 25%) |
| HSV | hsv(106, 84%, 44%) |
| CMYK | cmyk(64.9%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(40.97, -39.72, 41.31) |
| CIE-LCH | lch(40.97, 57.31, 133.88°) |
| OKLab | oklab(47.8% -0.1091 0.0917) |
| OKLCH | oklch(47.8% 0.143 139.9) |
| XYZ | xyz(6.6300, 11.8433, 2.5087) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.31
Tree Green
#2A7E19
ΔE00 5.15
Green
#008000
ΔE00 6.22
Darkish Green
#287C37
ΔE00 6.47
Dark Grass Green
#388004
ΔE00 6.67
Deep Green
#02590F
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#276F12 #5A126F
analogous
#556F12 #276F12 #126F2C
triadic
#276F12 #12276F #6F1227
tetradic
#276F12 #12556F #5A126F #6F2C12
square
#276F12 #12556F #5A126F #6F2C12
split-complementary
#276F12 #2C126F #6F1255
monochromatic
#091A04 #143A09 #276F12 #3AA41B #4CD823
Accessibility & contrast
On white
6.23
#276F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#276F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #276F12
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##276F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##276F12 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#1D6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #276f12; /* rgb */ color: rgb(39, 111, 18); /* oklch */ color: oklch(47.8% 0.143 139.9);
Tailwind
colors: {
custom: {
50: '#6c9959',
500: '#276f12',
950: '#000000',
},
}SCSS
$custom: #276f12; $custom-light: #6c9959; $custom-dark: #000000;
JSON
{
"hex": "#276f12",
"rgb": {
"r": 39,
"g": 111,
"b": 18
},
"hsl": {
"h": 106.452,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47802,
"c": 0.14251,
"h": 139.9
},
"luminance": 0.11844
}Semantic roles & 50–950 ramp
primary
#276F12
secondary
#8D37A6
accent
#39EFC6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79