#2F671E#2F671E

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

Color values

HEX#2F671E
RGBrgb(47, 103, 30)
HSLhsl(106, 55%, 26%)
HSVhsv(106, 71%, 40%)
CMYKcmyk(54.4%, 0%, 70.9%, 59.6%)
CIE-LABlab(38.55, -33.23, 34.28)
CIE-LCHlch(38.55, 47.75, 134.11°)
OKLaboklab(45.91% -0.0914 0.0787)
OKLCHoklch(45.91% 0.121 139.3)
XYZxyz(6.2566, 10.3981, 2.9054)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F671E #561E67
analogous
#53671E #2F671E #1E6731
triadic
#2F671E #1E2F67 #671E2F
tetradic
#2F671E #1E5367 #561E67 #67311E
square
#2F671E #1E5367 #561E67 #67311E
split-complementary
#2F671E #311E67 #671E53
monochromatic
#0B1807 #193810 #2F671E #45962C #5AC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F671E#FFFFFF#000000##FFFFFF
##2F671E1.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)
#6A5E14
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#2A6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f671e;
/* rgb */ color: rgb(47, 103, 30);
/* oklch */ color: oklch(45.9% 0.121 139.3);
Tailwind
colors: {
  custom: {
    50: '#6e935e',
    500: '#2f671e',
    950: '#000000',
  },
}
SCSS
$custom: #2f671e;
$custom-light: #6e935e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f671e",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 106.027,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.1206,
    "h": 139.3
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#2F671E
secondary
#87459C
accent
#4ADEBC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F671E

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

Preview Lab → · Contrast checker → · Palette generator →

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