#2F671D#2F671D

#2F671D is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.121 H 139.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2F671D
RGBrgb(47, 103, 29)
HSLhsl(105, 56%, 26%)
HSVhsv(105, 72%, 40%)
CMYKcmyk(54.4%, 0%, 71.8%, 59.6%)
CIE-LABlab(38.54, -33.33, 34.73)
CIE-LCHlch(38.54, 48.13, 133.83°)
OKLaboklab(45.9% -0.0917 0.0795)
OKLCHoklch(45.9% 0.121 139.1)
XYZxyz(6.2441, 10.3931, 2.8392)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F671D #551D67
analogous
#54671D #2F671D #1D6730
triadic
#2F671D #1D2F67 #671D2F
tetradic
#2F671D #1D5467 #551D67 #67301D
square
#2F671D #1D5467 #551D67 #67301D
split-complementary
#2F671D #301D67 #671D54
monochromatic
#0B1807 #193710 #2F671D #45972A #5BC738

Accessibility & contrast

On white

6.82
#2F671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F671D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F671D#FFFFFF#000000##FFFFFF
##2F671D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E13
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#2A6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f671d;
/* rgb */ color: rgb(47, 103, 29);
/* oklch */ color: oklch(45.9% 0.121 139.1);
Tailwind
colors: {
  custom: {
    50: '#6e935d',
    500: '#2f671d',
    950: '#000000',
  },
}
SCSS
$custom: #2f671d;
$custom-light: #6e935d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f671d",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 105.405,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.12136,
    "h": 139.1
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

primary
#2F671D
secondary
#86449C
accent
#48DFBB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F671D

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

Preview Lab → · Contrast checker → · Palette generator →

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