#2F671C#2F671C

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

Color values

HEX#2F671C
RGBrgb(47, 103, 28)
HSLhsl(105, 57%, 26%)
HSVhsv(105, 73%, 40%)
CMYKcmyk(54.4%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.53, -33.43, 35.16)
CIE-LCHlch(38.53, 48.51, 133.55°)
OKLaboklab(45.89% -0.092 0.0803)
OKLCHoklch(45.89% 0.122 138.9)
XYZxyz(6.2319, 10.3882, 2.7751)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F671C #541C67
analogous
#54671C #2F671C #1C672E
triadic
#2F671C #1C2F67 #671C2F
tetradic
#2F671C #1C5467 #541C67 #672E1C
square
#2F671C #1C5467 #541C67 #672E1C
split-complementary
#2F671C #2E1C67 #671C54
monochromatic
#0B1807 #19370F #2F671C #459729 #5BC736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F671C#FFFFFF#000000##FFFFFF
##2F671C1.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)
#6A5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#2A6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f671c;
/* rgb */ color: rgb(47, 103, 28);
/* oklch */ color: oklch(45.9% 0.122 138.9);
Tailwind
colors: {
  custom: {
    50: '#6e935d',
    500: '#2f671c',
    950: '#000000',
  },
}
SCSS
$custom: #2f671c;
$custom-light: #6e935d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f671c",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 104.8,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.12213,
    "h": 138.9
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#2F671C
secondary
#85439C
accent
#47E1BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F671C

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

Preview Lab → · Contrast checker → · Palette generator →

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