#276917#276917
#276917 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.132 H 140.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #276917 |
|---|---|
| RGB | rgb(39, 105, 23) |
| HSL | hsl(108, 64%, 25%) |
| HSV | hsv(108, 78%, 41%) |
| CMYK | cmyk(62.9%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(38.89, -37.04, 37.51) |
| CIE-LCH | lch(38.89, 52.72, 134.64°) |
| OKLab | oklab(46.1% -0.1016 0.0846) |
| OKLCH | oklch(46.1% 0.132 140.2) |
| XYZ | xyz(6.0427, 10.5958, 2.5372) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.19
Deep Green
#02590F
ΔE00 5.85
Forest
#0B5509
ΔE00 6.71
Forest Green
#2D5A27
ΔE00 6.89
Tree Green
#2A7E19
ΔE00 7.27
Darkish Green
#287C37
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#276917 #591769
analogous
#506917 #276917 #176930
triadic
#276917 #172769 #691727
tetradic
#276917 #175069 #591769 #693017
square
#276917 #175069 #591769 #693017
split-complementary
#276917 #301769 #691750
monochromatic
#091905 #14370C #276917 #3A9B22 #4CCD2D
Accessibility & contrast
On white
6.73
#276917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#276917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #276917
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##276917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##276917 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#1E6559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #276917; /* rgb */ color: rgb(39, 105, 23); /* oklch */ color: oklch(46.1% 0.132 140.2);
Tailwind
colors: {
custom: {
50: '#6a955a',
500: '#276917',
950: '#000000',
},
}SCSS
$custom: #276917; $custom-light: #6a955a; $custom-dark: #000000;
JSON
{
"hex": "#276917",
"rgb": {
"r": 39,
"g": 105,
"b": 23
},
"hsl": {
"h": 108.293,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.46096,
"c": 0.13217,
"h": 140.2
},
"luminance": 0.10596
}Semantic roles & 50–950 ramp
primary
#276917
secondary
#8C3D9F
accent
#41E7C7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79