#2F4E2B#2F4E2B

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

Color values

HEX#2F4E2B
RGBrgb(47, 78, 43)
HSLhsl(113, 29%, 24%)
HSVhsv(113, 45%, 31%)
CMYKcmyk(39.7%, 0%, 44.9%, 69.4%)
CIE-LABlab(29.98, -19.57, 17.18)
CIE-LCHlch(29.98, 26.04, 138.73°)
OKLaboklab(38.96% -0.0534 0.0424)
OKLCHoklch(38.96% 0.068 141.6)
XYZxyz(4.3326, 6.2273, 3.2587)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E2B #4A2B4E
analogous
#404E2B #2F4E2B #2B4E38
triadic
#2F4E2B #2B2F4E #4E2B2F
tetradic
#2F4E2B #2B404E #4A2B4E #4E382B
square
#2F4E2B #2B404E #4A2B4E #4E382B
split-complementary
#2F4E2B #382B4E #4E2B40
monochromatic
#0C140B #172715 #2F4E2B #477541 #5F9D56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4E2B#FFFFFF#000000##FFFFFF
##2F4E2B1.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)
#504828
Deuteranopia (green-blind)
#4B452D
Tritanopia (blue-blind)
#2C4C45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4e2b;
/* rgb */ color: rgb(47, 78, 43);
/* oklch */ color: oklch(39.0% 0.068 141.6);
Tailwind
colors: {
  custom: {
    50: '#698065',
    500: '#2f4e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e2b;
$custom-light: #698065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e2b",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 43
  },
  "hsl": {
    "h": 113.143,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.38959,
    "c": 0.06816,
    "h": 141.6
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#2F4E2B
secondary
#7B5580
accent
#63C5BA
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2F4E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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