#2F642E#2F642E

#2F642E is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.3% C 0.101 H 143.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2F642E
RGBrgb(47, 100, 46)
HSLhsl(119, 37%, 29%)
HSVhsv(119, 54%, 39%)
CMYKcmyk(53%, 0%, 54%, 60.8%)
CIE-LABlab(37.69, -29.91, 25.15)
CIE-LCHlch(37.69, 39.08, 139.94°)
OKLaboklab(45.27% -0.0814 0.0606)
OKLCHoklch(45.27% 0.101 143.3)
XYZxyz(6.2223, 9.9155, 4.1702)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F642E #632E64
analogous
#4A642E #2F642E #2E6448
triadic
#2F642E #2E2F64 #642E2F
tetradic
#2F642E #2E4A64 #632E64 #64482E
square
#2F642E #2E4A64 #632E64 #64482E
split-complementary
#2F642E #482E64 #642E4A
monochromatic
#0A150A #1B3A1B #2F642E #438E41 #5BB35A

Accessibility & contrast

On white

7.04
#2F642E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F642E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F642E#FFFFFF#000000##FFFFFF
##2F642E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C29
Deuteranopia (green-blind)
#5F5732
Tritanopia (blue-blind)
#286158
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f642e;
/* rgb */ color: rgb(47, 100, 46);
/* oklch */ color: oklch(45.3% 0.101 143.3);
Tailwind
colors: {
  custom: {
    50: '#6c9168',
    500: '#2f642e',
    950: '#000000',
  },
}
SCSS
$custom: #2f642e;
$custom-light: #6c9168;
$custom-dark: #000000;
JSON
{
  "hex": "#2f642e",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 46
  },
  "hsl": {
    "h": 118.889,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.10146,
    "h": 143.3
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#2F642E
secondary
#955896
accent
#5BCDCB
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F642E

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

Preview Lab → · Contrast checker → · Palette generator →

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