#2F4E2D#2F4E2D

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

Color values

HEX#2F4E2D
RGBrgb(47, 78, 45)
HSLhsl(116, 27%, 24%)
HSVhsv(116, 42%, 31%)
CMYKcmyk(39.7%, 0%, 42.3%, 69.4%)
CIE-LABlab(30.02, -19.22, 16.01)
CIE-LCHlch(30.02, 25.01, 140.21°)
OKLaboklab(39% -0.0524 0.0397)
OKLCHoklch(39% 0.066 142.9)
XYZxyz(4.3701, 6.2424, 3.4567)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E2D #4C2D4E
analogous
#404E2D #2F4E2D #2D4E3C
triadic
#2F4E2D #2D2F4E #4E2D2F
tetradic
#2F4E2D #2D404E #4C2D4E #4E3C2D
square
#2F4E2D #2D404E #4C2D4E #4E3C2D
split-complementary
#2F4E2D #3C2D4E #4E2D40
monochromatic
#0C130B #182717 #2F4E2D #467543 #5E9C5A

Accessibility & contrast

On white

9.34
#2F4E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E2D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E2D#FFFFFF#000000##FFFFFF
##2F4E2D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492B
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#2C4C46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4e2d;
/* rgb */ color: rgb(47, 78, 45);
/* oklch */ color: oklch(39.0% 0.066 142.9);
Tailwind
colors: {
  custom: {
    50: '#698066',
    500: '#2f4e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e2d;
$custom-light: #698066;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e2d",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 116.364,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.06574,
    "h": 142.9
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#2F4E2D
secondary
#7D5780
accent
#65C3BD
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F4E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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