#2F4E38#2F4E38

#2F4E38 is a dark, muted green. Relative luminance 0.063; OKLCH L 39.3% C 0.053 H 152.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2F4E38
RGBrgb(47, 78, 56)
HSLhsl(137, 25%, 25%)
HSVhsv(137, 40%, 31%)
CMYKcmyk(39.7%, 0%, 28.2%, 69.4%)
CIE-LABlab(30.25, -17.01, 9.48)
CIE-LCHlch(30.25, 19.47, 150.87°)
OKLaboklab(39.27% -0.0467 0.0242)
OKLCHoklch(39.27% 0.053 152.6)
XYZxyz(4.6102, 6.3384, 4.7211)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E38 #4E2F45
analogous
#364E2F #2F4E38 #2F4E48
triadic
#2F4E38 #382F4E #4E382F
tetradic
#2F4E38 #2F364E #4E2F45 #4E482F
square
#2F4E38 #2F364E #4E2F45 #4E482F
split-complementary
#2F4E38 #482F4E #4E2F36
monochromatic
#0C130E #18281D #2F4E38 #467453 #5D9A6F

Accessibility & contrast

On white

9.26
#2F4E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2F4E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E38
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E38#FFFFFF#000000##FFFFFF
##2F4E381.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4937
Deuteranopia (green-blind)
#494639
Tritanopia (blue-blind)
#2A4D48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4e38;
/* rgb */ color: rgb(47, 78, 56);
/* oklch */ color: oklch(39.3% 0.053 152.6);
Tailwind
colors: {
  custom: {
    50: '#697f6e',
    500: '#2f4e38',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e38;
$custom-light: #697f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e38",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 56
  },
  "hsl": {
    "h": 137.419,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39268,
    "c": 0.05256,
    "h": 152.6
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#2F4E38
secondary
#7F5A74
accent
#67A7C1
background
#F6F7F6
surface
#EBEEEC
border
#C6C9C7
text
#060A07
muted
#7A7C7A

Preview Lab

Preview with #2F4E38

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

Preview Lab → · Contrast checker → · Palette generator →

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