#2D6E0F#2D6E0F
#2D6E0F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.140 H 138.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6E0F |
|---|---|
| RGB | rgb(45, 110, 15) |
| HSL | hsl(101, 76%, 25%) |
| HSV | hsv(101, 86%, 43%) |
| CMYK | cmyk(59.1%, 0%, 86.4%, 56.9%) |
| CIE-LAB | lab(40.81, -37.86, 42.15) |
| CIE-LCH | lch(40.81, 56.66, 131.93°) |
| OKLab | oklab(47.72% -0.1047 0.0929) |
| OKLCH | oklch(47.72% 0.14 138.4) |
| XYZ | xyz(6.7441, 11.7437, 2.3632) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.52
Tree Green
#2A7E19
ΔE00 5.51
Dark Grass Green
#388004
ΔE00 6.65
Green
#008000
ΔE00 6.67
Darkish Green
#287C37
ΔE00 7.11
Deep Green
#02590F
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6E0F #500F6E
analogous
#5D6E0F #2D6E0F #0F6E21
triadic
#2D6E0F #0F2D6E #6E0F2D
tetradic
#2D6E0F #0F5D6E #500F6E #6E210F
square
#2D6E0F #0F5D6E #500F6E #6E210F
split-complementary
#2D6E0F #210F6E #6E0F5D
monochromatic
#0B1B04 #173808 #2D6E0F #43A416 #59DA1E
Accessibility & contrast
On white
6.27
#2D6E0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2D6E0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6E0F
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6E0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6E0F | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726300
Deuteranopia (green-blind)
#6A5E1B
Tritanopia (blue-blind)
#276A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2d6e0f; /* rgb */ color: rgb(45, 110, 15); /* oklch */ color: oklch(47.7% 0.140 138.4);
Tailwind
colors: {
custom: {
50: '#6f9858',
500: '#2d6e0f',
950: '#000000',
},
}SCSS
$custom: #2d6e0f; $custom-light: #6f9858; $custom-dark: #000000;
JSON
{
"hex": "#2d6e0f",
"rgb": {
"r": 45,
"g": 110,
"b": 15
},
"hsl": {
"h": 101.053,
"s": 76,
"l": 24.51
},
"oklch": {
"l": 0.47722,
"c": 0.13996,
"h": 138.4
},
"luminance": 0.11744
}Semantic roles & 50–950 ramp
primary
#2D6E0F
secondary
#8233A6
accent
#35F3B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79