#2B6E1F#2B6E1F
#2B6E1F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.131 H 140.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B6E1F |
|---|---|
| RGB | rgb(43, 110, 31) |
| HSL | hsl(111, 56%, 28%) |
| HSV | hsv(111, 72%, 43%) |
| CMYK | cmyk(60.9%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(40.84, -37.23, 36.23) |
| CIE-LCH | lch(40.84, 51.95, 135.78°) |
| OKLab | oklab(47.76% -0.1019 0.083) |
| OKLCH | oklch(47.76% 0.131 140.8) |
| XYZ | xyz(6.8192, 11.7638, 3.2073) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.64
Darkish Green
#287C37
ΔE00 5.67
Tree Green
#2A7E19
ΔE00 5.84
Green
#008000
ΔE00 7.25
Deep Green
#02590F
ΔE00 7.35
Dark Grass Green
#388004
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B6E1F #621F6E
analogous
#526E1F #2B6E1F #1F6E3A
triadic
#2B6E1F #1F2B6E #6E1F2B
tetradic
#2B6E1F #1F526E #621F6E #6E3A1F
square
#2B6E1F #1F526E #621F6E #6E3A1F
split-complementary
#2B6E1F #3A1F6E #6E1F52
monochromatic
#091807 #183E12 #2B6E1F #3E9E2C #54C93F
Accessibility & contrast
On white
6.26
#2B6E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2B6E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B6E1F
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B6E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B6E1F | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#695E26
Tritanopia (blue-blind)
#226A5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b6e1f; /* rgb */ color: rgb(43, 110, 31); /* oklch */ color: oklch(47.8% 0.131 140.8);
Tailwind
colors: {
custom: {
50: '#6d985f',
500: '#2b6e1f',
950: '#000000',
},
}SCSS
$custom: #2b6e1f; $custom-light: #6d985f; $custom-dark: #000000;
JSON
{
"hex": "#2b6e1f",
"rgb": {
"r": 43,
"g": 110,
"b": 31
},
"hsl": {
"h": 110.886,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.47762,
"c": 0.13137,
"h": 140.8
},
"luminance": 0.11764
}Semantic roles & 50–950 ramp
primary
#2B6E1F
secondary
#9447A2
accent
#48DFC8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79