#2F672B#2F672B

#2F672B is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.109 H 142.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2F672B
RGBrgb(47, 103, 43)
HSLhsl(116, 41%, 29%)
HSVhsv(116, 58%, 40%)
CMYKcmyk(54.4%, 0%, 58.3%, 59.6%)
CIE-LABlab(38.69, -31.69, 27.99)
CIE-LCHlch(38.69, 42.28, 138.56°)
OKLaboklab(46.08% -0.0864 0.0666)
OKLCHoklch(46.08% 0.109 142.4)
XYZxyz(6.4583, 10.4787, 3.9673)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F672B #632B67
analogous
#4D672B #2F672B #2B6745
triadic
#2F672B #2B2F67 #672B2F
tetradic
#2F672B #2B4D67 #632B67 #67452B
square
#2F672B #2B4D67 #632B67 #67452B
split-complementary
#2F672B #452B67 #672B4D
monochromatic
#0A1609 #1B3C19 #2F672B #43923D #5BB855

Accessibility & contrast

On white

6.78
#2F672B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2F672B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F672B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F672B#FFFFFF#000000##FFFFFF
##2F672B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E25
Deuteranopia (green-blind)
#62592F
Tritanopia (blue-blind)
#28645A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f672b;
/* rgb */ color: rgb(47, 103, 43);
/* oklch */ color: oklch(46.1% 0.109 142.4);
Tailwind
colors: {
  custom: {
    50: '#6d9366',
    500: '#2f672b',
    950: '#000000',
  },
}
SCSS
$custom: #2f672b;
$custom-light: #6d9366;
$custom-dark: #000000;
JSON
{
  "hex": "#2f672b",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 43
  },
  "hsl": {
    "h": 116,
    "s": 41.096,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.10907,
    "h": 142.4
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#2F672B
secondary
#955599
accent
#57D1C9
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2F672B

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

Preview Lab → · Contrast checker → · Palette generator →

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