#2F4E2F#2F4E2F

#2F4E2F is a dark, moderate green. Relative luminance 0.063; OKLCH L 39.0% C 0.063 H 144.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2F4E2F
RGBrgb(47, 78, 47)
HSLhsl(120, 25%, 25%)
HSVhsv(120, 40%, 31%)
CMYKcmyk(39.7%, 0%, 39.7%, 69.4%)
CIE-LABlab(30.05, -18.85, 14.83)
CIE-LCHlch(30.05, 23.98, 141.80°)
OKLaboklab(39.05% -0.0514 0.037)
OKLCHoklch(39.05% 0.063 144.2)
XYZxyz(4.4096, 6.2581, 3.6644)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E2F #4E2F4E
analogous
#3F4E2F #2F4E2F #2F4E3F
triadic
#2F4E2F #2F2F4E #4E2F2F
tetradic
#2F4E2F #2F3F4E #4E2F4E #4E3F2F
square
#2F4E2F #2F3F4E #4E2F4E #4E3F2F
split-complementary
#2F4E2F #3F2F4E #4E2F3F
monochromatic
#0C130C #182818 #2F4E2F #467446 #5D9A5D

Accessibility & contrast

On white

9.33
#2F4E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E2F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E2F#FFFFFF#000000##FFFFFF
##2F4E2F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4e2f;
/* rgb */ color: rgb(47, 78, 47);
/* oklch */ color: oklch(39.0% 0.063 144.2);
Tailwind
colors: {
  custom: {
    50: '#698067',
    500: '#2f4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e2f;
$custom-light: #698067;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e2f",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39045,
    "c": 0.0633,
    "h": 144.2
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#2F4E2F
secondary
#7F5A7F
accent
#67C1C1
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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