#2C6E0F#2C6E0F
#2C6E0F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.140 H 138.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6E0F |
|---|---|
| RGB | rgb(44, 110, 15) |
| HSL | hsl(102, 76%, 25%) |
| HSV | hsv(102, 86%, 43%) |
| CMYK | cmyk(60%, 0%, 86.4%, 56.9%) |
| CIE-LAB | lab(40.77, -38.14, 42.11) |
| CIE-LCH | lch(40.77, 56.81, 132.17°) |
| OKLab | oklab(47.68% -0.1054 0.0929) |
| OKLCH | oklch(47.68% 0.14 138.6) |
| XYZ | xyz(6.7006, 11.7212, 2.3612) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.43
Tree Green
#2A7E19
ΔE00 5.50
Green
#008000
ΔE00 6.63
Dark Grass Green
#388004
ΔE00 6.68
Darkish Green
#287C37
ΔE00 7.06
Deep Green
#02590F
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6E0F #510F6E
analogous
#5C6E0F #2C6E0F #0F6E21
triadic
#2C6E0F #0F2C6E #6E0F2C
tetradic
#2C6E0F #0F5C6E #510F6E #6E210F
square
#2C6E0F #0F5C6E #510F6E #6E210F
split-complementary
#2C6E0F #210F6E #6E0F5C
monochromatic
#0B1B04 #163808 #2C6E0F #42A416 #57DA1E
Accessibility & contrast
On white
6.28
#2C6E0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2C6E0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6E0F
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6E0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6E0F | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726300
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#256A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2c6e0f; /* rgb */ color: rgb(44, 110, 15); /* oklch */ color: oklch(47.7% 0.140 138.6);
Tailwind
colors: {
custom: {
50: '#6e9858',
500: '#2c6e0f',
950: '#000000',
},
}SCSS
$custom: #2c6e0f; $custom-light: #6e9858; $custom-dark: #000000;
JSON
{
"hex": "#2c6e0f",
"rgb": {
"r": 44,
"g": 110,
"b": 15
},
"hsl": {
"h": 101.684,
"s": 76,
"l": 24.51
},
"oklch": {
"l": 0.47682,
"c": 0.14044,
"h": 138.6
},
"luminance": 0.11722
}Semantic roles & 50–950 ramp
primary
#2C6E0F
secondary
#8333A6
accent
#35F3B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79