#276912#276912
#276912 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.135 H 139.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #276912 |
|---|---|
| RGB | rgb(39, 105, 18) |
| HSL | hsl(106, 71%, 24%) |
| HSV | hsv(106, 83%, 41%) |
| CMYK | cmyk(62.9%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(38.86, -37.41, 39.32) |
| CIE-LCH | lch(38.86, 54.27, 133.58°) |
| OKLab | oklab(46.06% -0.1029 0.0876) |
| OKLCH | oklch(46.06% 0.135 139.6) |
| XYZ | xyz(5.9972, 10.5776, 2.2978) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.04
Deep Green
#02590F
ΔE00 6.05
Forest
#0B5509
ΔE00 6.83
Tree Green
#2A7E19
ΔE00 7.17
Forest Green
#2D5A27
ΔE00 7.32
Darkish Green
#287C37
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#276912 #541269
analogous
#536912 #276912 #126929
triadic
#276912 #122769 #691227
tetradic
#276912 #125369 #541269 #692912
square
#276912 #125369 #541269 #692912
split-complementary
#276912 #291269 #691253
monochromatic
#0A1A04 #143509 #276912 #3A9D1B #4ED124
Accessibility & contrast
On white
6.74
#276912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#276912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #276912
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##276912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##276912 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#1F6559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #276912; /* rgb */ color: rgb(39, 105, 18); /* oklch */ color: oklch(46.1% 0.135 139.6);
Tailwind
colors: {
custom: {
50: '#6a9558',
500: '#276912',
950: '#000000',
},
}SCSS
$custom: #276912; $custom-light: #6a9558; $custom-dark: #000000;
JSON
{
"hex": "#276912",
"rgb": {
"r": 39,
"g": 105,
"b": 18
},
"hsl": {
"h": 105.517,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.4606,
"c": 0.13509,
"h": 139.6
},
"luminance": 0.10578
}Semantic roles & 50–950 ramp
primary
#276912
secondary
#8736A1
accent
#3AEDC2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79