#2F661E#2F661E

#2F661E is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.6% C 0.119 H 139.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2F661E
RGBrgb(47, 102, 30)
HSLhsl(106, 55%, 26%)
HSVhsv(106, 71%, 40%)
CMYKcmyk(53.9%, 0%, 70.6%, 60%)
CIE-LABlab(38.20, -32.80, 33.91)
CIE-LCHlch(38.20, 47.18, 134.05°)
OKLaboklab(45.63% -0.0902 0.0779)
OKLCHoklch(45.63% 0.119 139.2)
XYZxyz(6.1578, 10.2004, 2.8724)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F661E #551E66
analogous
#53661E #2F661E #1E6631
triadic
#2F661E #1E2F66 #661E2F
tetradic
#2F661E #1E5366 #551E66 #66311E
square
#2F661E #1E5366 #551E66 #66311E
split-complementary
#2F661E #311E66 #661E53
monochromatic
#0B1807 #193710 #2F661E #45952C #5BC53A

Accessibility & contrast

On white

6.91
#2F661E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2F661E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F661E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F661E#FFFFFF#000000##FFFFFF
##2F661E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D14
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#2A6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f661e;
/* rgb */ color: rgb(47, 102, 30);
/* oklch */ color: oklch(45.6% 0.119 139.2);
Tailwind
colors: {
  custom: {
    50: '#6d925e',
    500: '#2f661e',
    950: '#000000',
  },
}
SCSS
$custom: #2f661e;
$custom-light: #6d925e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f661e",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 105.833,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.1192,
    "h": 139.2
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#2F661E
secondary
#86459B
accent
#4ADEBB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F661E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F661E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva