#2B731F#2B731F
#2B731F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.138 H 141.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2B731F |
|---|---|
| RGB | rgb(43, 115, 31) |
| HSL | hsl(111, 58%, 29%) |
| HSV | hsv(111, 73%, 45%) |
| CMYK | cmyk(62.6%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.57, -39.21, 38.05) |
| CIE-LCH | lch(42.57, 54.64, 135.86°) |
| OKLab | oklab(49.19% -0.1072 0.0868) |
| OKLCH | oklch(49.19% 0.138 141) |
| XYZ | xyz(7.3740, 12.8733, 3.3923) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.10
Darkish Green
#287C37
ΔE00 4.64
Green
#008000
ΔE00 5.64
Darkgreen
#006400
ΔE00 5.77
Dark Grass Green
#388004
ΔE00 6.14
Jungle Green
#048243
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B731F #671F73
analogous
#55731F #2B731F #1F733D
triadic
#2B731F #1F2B73 #731F2B
tetradic
#2B731F #1F5573 #671F73 #733D1F
square
#2B731F #1F5573 #671F73 #733D1F
split-complementary
#2B731F #3D1F73 #731F55
monochromatic
#091806 #194312 #2B731F #3DA32C #55CC41
Accessibility & contrast
On white
5.87
#2B731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#2B731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B731F
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B731F | 1.00 | 5.87 | 3.57 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#206F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2b731f; /* rgb */ color: rgb(43, 115, 31); /* oklch */ color: oklch(49.2% 0.138 141.0);
Tailwind
colors: {
custom: {
50: '#6e9c60',
500: '#2b731f',
950: '#000000',
},
}SCSS
$custom: #2b731f; $custom-light: #6e9c60; $custom-dark: #000000;
JSON
{
"hex": "#2b731f",
"rgb": {
"r": 43,
"g": 115,
"b": 31
},
"hsl": {
"h": 111.429,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49193,
"c": 0.13794,
"h": 141
},
"luminance": 0.12874
}Semantic roles & 50–950 ramp
primary
#2B731F
secondary
#9947A7
accent
#47E1CB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79