#2F6A1B#2F6A1B
#2F6A1B is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.127 H 139.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6A1B |
|---|---|
| RGB | rgb(47, 106, 27) |
| HSL | hsl(105, 59%, 26%) |
| HSV | hsv(105, 75%, 42%) |
| CMYK | cmyk(55.7%, 0%, 74.5%, 58.4%) |
| CIE-LAB | lab(39.57, -34.79, 36.67) |
| CIE-LCH | lch(39.57, 50.54, 133.49°) |
| OKLab | oklab(46.74% -0.0958 0.0833) |
| OKLCH | oklch(46.74% 0.127 139) |
| XYZ | xyz(6.5239, 10.9910, 2.8144) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.17
Deep Green
#02590F
ΔE00 6.55
Forest Green
#2D5A27
ΔE00 6.88
Tree Green
#2A7E19
ΔE00 7.05
Darkish Green
#287C37
ΔE00 7.14
Forest
#0B5509
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6A1B #561B6A
analogous
#566A1B #2F6A1B #1B6A2E
triadic
#2F6A1B #1B2F6A #6A1B2F
tetradic
#2F6A1B #1B566A #561B6A #6A2E1B
square
#2F6A1B #1B566A #561B6A #6A2E1B
split-complementary
#2F6A1B #2E1B6A #6A1B56
monochromatic
#0B1806 #19390F #2F6A1B #459B27 #5ACB34
Accessibility & contrast
On white
6.57
#2F6A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2F6A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6A1B
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6A1B | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#2A665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f6a1b; /* rgb */ color: rgb(47, 106, 27); /* oklch */ color: oklch(46.7% 0.127 139.0);
Tailwind
colors: {
custom: {
50: '#6e955d',
500: '#2f6a1b',
950: '#000000',
},
}SCSS
$custom: #2f6a1b; $custom-light: #6e955d; $custom-dark: #000000;
JSON
{
"hex": "#2f6a1b",
"rgb": {
"r": 47,
"g": 106,
"b": 27
},
"hsl": {
"h": 104.81,
"s": 59.398,
"l": 26.078
},
"oklch": {
"l": 0.46744,
"c": 0.12693,
"h": 139
},
"luminance": 0.10992
}Semantic roles & 50–950 ramp
primary
#2F6A1B
secondary
#87429F
accent
#45E3BB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79