#276212#276212
#276212 is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.0% C 0.126 H 139.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #276212 |
|---|---|
| RGB | rgb(39, 98, 18) |
| HSL | hsl(104, 69%, 23%) |
| HSV | hsv(104, 82%, 38%) |
| CMYK | cmyk(60.2%, 0%, 81.6%, 61.6%) |
| CIE-LAB | lab(36.39, -34.62, 36.94) |
| CIE-LCH | lch(36.39, 50.63, 133.14°) |
| OKLab | oklab(44.02% -0.0954 0.0826) |
| OKLCH | oklch(44.02% 0.126 139.1) |
| XYZ | xyz(5.3133, 9.2099, 2.0698) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.06
Deep Green
#02590F
ΔE00 4.24
Forest
#0B5509
ΔE00 4.74
Forest Green
#2D5A27
ΔE00 5.48
Navy Green
#35530A
ΔE00 6.30
Camouflage Green
#4B6113
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#276212 #4D1262
analogous
#4F6212 #276212 #126225
triadic
#276212 #122762 #621227
tetradic
#276212 #124F62 #4D1262 #622512
square
#276212 #124F62 #4D1262 #622512
split-complementary
#276212 #251262 #62124F
monochromatic
#0A1A05 #122E09 #276212 #3C961B #50C925
Accessibility & contrast
On white
7.39
#276212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#276212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #276212
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##276212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##276212 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#215E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #276212; /* rgb */ color: rgb(39, 98, 18); /* oklch */ color: oklch(44.0% 0.126 139.1);
Tailwind
colors: {
custom: {
50: '#698f57',
500: '#276212',
950: '#000000',
},
}SCSS
$custom: #276212; $custom-light: #698f57; $custom-dark: #000000;
JSON
{
"hex": "#276212",
"rgb": {
"r": 39,
"g": 98,
"b": 18
},
"hsl": {
"h": 104.25,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.44015,
"c": 0.12616,
"h": 139.1
},
"luminance": 0.0921
}Semantic roles & 50–950 ramp
primary
#276212
secondary
#80369A
accent
#3CECBE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78