#2F631B#2F631B
#2F631B is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.117 H 138.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2F631B |
|---|---|
| RGB | rgb(47, 99, 27) |
| HSL | hsl(103, 57%, 25%) |
| HSV | hsv(103, 73%, 39%) |
| CMYK | cmyk(52.5%, 0%, 72.7%, 61.2%) |
| CIE-LAB | lab(37.13, -31.79, 34.13) |
| CIE-LCH | lch(37.13, 46.64, 132.97°) |
| OKLab | oklab(44.74% -0.0877 0.078) |
| OKLCH | oklch(44.74% 0.117 138.4) |
| XYZ | xyz(5.8318, 9.6067, 2.5837) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.30
Forest Green
#2D5A27
ΔE00 4.76
Deep Green
#02590F
ΔE00 4.98
Forest
#0B5509
ΔE00 5.47
Navy Green
#35530A
ΔE00 6.20
Camouflage Green
#4B6113
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F631B #4F1B63
analogous
#53631B #2F631B #1B632B
triadic
#2F631B #1B2F63 #631B2F
tetradic
#2F631B #1B5363 #4F1B63 #632B1B
square
#2F631B #1B5363 #4F1B63 #632B1B
split-complementary
#2F631B #2B1B63 #631B53
monochromatic
#0B1807 #18330E #2F631B #469328 #5DC335
Accessibility & contrast
On white
7.19
#2F631B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2F631B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F631B
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F631B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F631B | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A11
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f631b; /* rgb */ color: rgb(47, 99, 27); /* oklch */ color: oklch(44.7% 0.117 138.4);
Tailwind
colors: {
custom: {
50: '#6d905c',
500: '#2f631b',
950: '#000000',
},
}SCSS
$custom: #2f631b; $custom-light: #6d905c; $custom-dark: #000000;
JSON
{
"hex": "#2f631b",
"rgb": {
"r": 47,
"g": 99,
"b": 27
},
"hsl": {
"h": 103.333,
"s": 57.143,
"l": 24.706
},
"oklch": {
"l": 0.44738,
"c": 0.11733,
"h": 138.4
},
"luminance": 0.09607
}Semantic roles & 50–950 ramp
primary
#2F631B
secondary
#804198
accent
#47E0B6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79