#2F642C#2F642C

#2F642C is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.2% C 0.104 H 142.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2F642C
RGBrgb(47, 100, 44)
HSLhsl(117, 39%, 28%)
HSVhsv(117, 56%, 39%)
CMYKcmyk(53%, 0%, 56%, 60.8%)
CIE-LABlab(37.66, -30.21, 26.22)
CIE-LCHlch(37.66, 40.00, 139.04°)
OKLaboklab(45.24% -0.0823 0.0628)
OKLCHoklch(45.24% 0.104 142.6)
XYZxyz(6.1838, 9.9001, 3.9674)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F642C #612C64
analogous
#4B642C #2F642C #2C6445
triadic
#2F642C #2C2F64 #642C2F
tetradic
#2F642C #2C4B64 #612C64 #64452C
square
#2F642C #2C4B64 #612C64 #64452C
split-complementary
#2F642C #452C64 #642C4B
monochromatic
#0A1509 #1B3919 #2F642C #438E3F #5BB556

Accessibility & contrast

On white

7.05
#2F642C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2F642C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F642C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F642C#FFFFFF#000000##FFFFFF
##2F642C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C27
Deuteranopia (green-blind)
#5F5730
Tritanopia (blue-blind)
#286157
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f642c;
/* rgb */ color: rgb(47, 100, 44);
/* oklch */ color: oklch(45.2% 0.104 142.6);
Tailwind
colors: {
  custom: {
    50: '#6c9167',
    500: '#2f642c',
    950: '#000000',
  },
}
SCSS
$custom: #2f642c;
$custom-light: #6c9167;
$custom-dark: #000000;
JSON
{
  "hex": "#2f642c",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 44
  },
  "hsl": {
    "h": 116.786,
    "s": 38.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.10351,
    "h": 142.6
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#2F642C
secondary
#935696
accent
#59CFC8
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F642C

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

Preview Lab → · Contrast checker → · Palette generator →

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