#2F651F#2F651F

#2F651F is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.4% C 0.117 H 139.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2F651F
RGBrgb(47, 101, 31)
HSLhsl(106, 53%, 26%)
HSVhsv(106, 69%, 40%)
CMYKcmyk(53.5%, 0%, 69.3%, 60.4%)
CIE-LABlab(37.86, -32.27, 33.08)
CIE-LCHlch(37.86, 46.21, 134.29°)
OKLaboklab(45.35% -0.0887 0.0763)
OKLCHoklch(45.35% 0.117 139.3)
XYZxyz(6.0731, 10.0102, 2.9082)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F651F #551F65
analogous
#52651F #2F651F #1F6532
triadic
#2F651F #1F2F65 #651F2F
tetradic
#2F651F #1F5265 #551F65 #65321F
square
#2F651F #1F5265 #551F65 #65321F
split-complementary
#2F651F #321F65 #651F52
monochromatic
#0B1707 #193611 #2F651F #45942D #5BC33C

Accessibility & contrast

On white

6.99
#2F651F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2F651F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F651F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F651F#FFFFFF#000000##FFFFFF
##2F651F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C16
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#2A6257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f651f;
/* rgb */ color: rgb(47, 101, 31);
/* oklch */ color: oklch(45.4% 0.117 139.3);
Tailwind
colors: {
  custom: {
    50: '#6d915e',
    500: '#2f651f',
    950: '#000000',
  },
}
SCSS
$custom: #2f651f;
$custom-light: #6d915e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f651f",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 106.286,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45352,
    "c": 0.11699,
    "h": 139.3
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#2F651F
secondary
#864699
accent
#4BDCBB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F651F

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

Preview Lab → · Contrast checker → · Palette generator →

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