#2F4E2C#2F4E2C

#2F4E2C is a dark, moderate green. Relative luminance 0.062; OKLCH L 39.0% C 0.067 H 142.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2F4E2C
RGBrgb(47, 78, 44)
HSLhsl(115, 28%, 24%)
HSVhsv(115, 44%, 31%)
CMYKcmyk(39.7%, 0%, 43.6%, 69.4%)
CIE-LABlab(30.00, -19.40, 16.59)
CIE-LCHlch(30.00, 25.53, 139.45°)
OKLaboklab(38.98% -0.0529 0.041)
OKLCHoklch(38.98% 0.067 142.2)
XYZxyz(4.3511, 6.2347, 3.3565)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E2C #4B2C4E
analogous
#404E2C #2F4E2C #2C4E3A
triadic
#2F4E2C #2C2F4E #4E2C2F
tetradic
#2F4E2C #2C404E #4B2C4E #4E3A2C
square
#2F4E2C #2C404E #4B2C4E #4E3A2C
split-complementary
#2F4E2C #3A2C4E #4E2C40
monochromatic
#0C140B #172716 #2F4E2C #477542 #5E9C58

Accessibility & contrast

On white

9.35
#2F4E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F4E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E2C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E2C#FFFFFF#000000##FFFFFF
##2F4E2C1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50482A
Deuteranopia (green-blind)
#4B462E
Tritanopia (blue-blind)
#2C4C46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4e2c;
/* rgb */ color: rgb(47, 78, 44);
/* oklch */ color: oklch(39.0% 0.067 142.2);
Tailwind
colors: {
  custom: {
    50: '#698065',
    500: '#2f4e2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e2c;
$custom-light: #698065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e2c",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 44
  },
  "hsl": {
    "h": 114.706,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3898,
    "c": 0.06695,
    "h": 142.2
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#2F4E2C
secondary
#7C5680
accent
#64C4BC
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2F4E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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