#2F7233#2F7233
#2F7233 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.118 H 144.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7233 |
|---|---|
| RGB | rgb(47, 114, 51) |
| HSL | hsl(124, 42%, 32%) |
| HSV | hsv(124, 59%, 45%) |
| CMYK | cmyk(58.8%, 0%, 55.3%, 55.3%) |
| CIE-LAB | lab(42.58, -35.33, 28.40) |
| CIE-LCH | lch(42.58, 45.33, 141.21°) |
| OKLab | oklab(49.31% -0.0959 0.0681) |
| OKLCH | oklch(49.31% 0.118 144.6) |
| XYZ | xyz(7.7867, 12.8773, 5.2066) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.57
Jungle Green
#048243
ΔE00 6.44
Tree Green
#2A7E19
ΔE00 6.66
Darkgreen
#006400
ΔE00 7.46
Pine
#2B5D34
ΔE00 8.05
Forest Green
#2D5A27
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7233 #722F6E
analogous
#4D722F #2F7233 #2F7255
triadic
#2F7233 #332F72 #72332F
tetradic
#2F7233 #2F4D72 #722F6E #72552F
square
#2F7233 #2F4D72 #722F6E #72552F
split-complementary
#2F7233 #552F72 #722F4D
monochromatic
#0B1B0C #1D4720 #2F7233 #419D46 #5FBD64
Accessibility & contrast
On white
5.87
#2F7233 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2F7233 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7233
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7233 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74682D
Deuteranopia (green-blind)
#6B6238
Tritanopia (blue-blind)
#236F64
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f7233; /* rgb */ color: rgb(47, 114, 51); /* oklch */ color: oklch(49.3% 0.118 144.6);
Tailwind
colors: {
custom: {
50: '#6e9b6c',
500: '#2f7233',
950: '#000000',
},
}SCSS
$custom: #2f7233; $custom-light: #6e9b6c; $custom-dark: #000000;
JSON
{
"hex": "#2f7233",
"rgb": {
"r": 47,
"g": 114,
"b": 51
},
"hsl": {
"h": 123.582,
"s": 41.615,
"l": 31.569
},
"oklch": {
"l": 0.49306,
"c": 0.11761,
"h": 144.6
},
"luminance": 0.12878
}Semantic roles & 50–950 ramp
primary
#2F7233
secondary
#A35A9F
accent
#56CAD1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A