#2F4E2A#2F4E2A

#2F4E2A is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.9% C 0.069 H 141.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2F4E2A
RGBrgb(47, 78, 42)
HSLhsl(112, 30%, 24%)
HSVhsv(112, 46%, 31%)
CMYKcmyk(39.7%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.96, -19.75, 17.76)
CIE-LCHlch(29.96, 26.56, 138.03°)
OKLaboklab(38.94% -0.0539 0.0437)
OKLCHoklch(38.94% 0.069 141)
XYZxyz(4.3144, 6.2201, 3.1633)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E2A #492A4E
analogous
#414E2A #2F4E2A #2A4E37
triadic
#2F4E2A #2A2F4E #4E2A2F
tetradic
#2F4E2A #2A414E #492A4E #4E372A
square
#2F4E2A #2A414E #492A4E #4E372A
split-complementary
#2F4E2A #372A4E #4E2A41
monochromatic
#0C140B #172615 #2F4E2A #47763F #5F9E55

Accessibility & contrast

On white

9.36
#2F4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F4E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E2A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E2A#FFFFFF#000000##FFFFFF
##2F4E2A1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504827
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#2C4C45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4e2a;
/* rgb */ color: rgb(47, 78, 42);
/* oklch */ color: oklch(38.9% 0.069 141.0);
Tailwind
colors: {
  custom: {
    50: '#698064',
    500: '#2f4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e2a;
$custom-light: #698064;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e2a",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 111.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38939,
    "c": 0.06937,
    "h": 141
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#2F4E2A
secondary
#7A5480
accent
#62C6B8
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2F4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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