#276F1F#276F1F
#276F1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.135 H 141.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #276F1F |
|---|---|
| RGB | rgb(39, 111, 31) |
| HSL | hsl(114, 56%, 28%) |
| HSV | hsv(114, 72%, 44%) |
| CMYK | cmyk(64.9%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(41.05, -38.68, 36.42) |
| CIE-LCH | lch(41.05, 53.13, 136.73°) |
| OKLab | oklab(47.9% -0.1055 0.0834) |
| OKLCH | oklch(47.9% 0.135 141.7) |
| XYZ | xyz(6.7681, 11.8985, 3.2360) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.66
Darkish Green
#287C37
ΔE00 5.33
Tree Green
#2A7E19
ΔE00 5.55
Green
#008000
ΔE00 6.87
Deep Green
#02590F
ΔE00 7.49
Dark Grass Green
#388004
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#276F1F #671F6F
analogous
#4F6F1F #276F1F #1F6F3F
triadic
#276F1F #1F276F #6F1F27
tetradic
#276F1F #1F4F6F #671F6F #6F3F1F
square
#276F1F #1F4F6F #671F6F #6F3F1F
split-complementary
#276F1F #3F1F6F #6F1F4F
monochromatic
#081807 #163F12 #276F1F #389F2C #4DC93F
Accessibility & contrast
On white
6.21
#276F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#276F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #276F1F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##276F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##276F1F | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726413
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#1B6B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #276f1f; /* rgb */ color: rgb(39, 111, 31); /* oklch */ color: oklch(47.9% 0.135 141.7);
Tailwind
colors: {
custom: {
50: '#6b995f',
500: '#276f1f',
950: '#000000',
},
}SCSS
$custom: #276f1f; $custom-light: #6b995f; $custom-dark: #000000;
JSON
{
"hex": "#276f1f",
"rgb": {
"r": 39,
"g": 111,
"b": 31
},
"hsl": {
"h": 114,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.47903,
"c": 0.1345,
"h": 141.7
},
"luminance": 0.11899
}Semantic roles & 50–950 ramp
primary
#276F1F
secondary
#9A47A3
accent
#48E0D0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79