#2F4C2F#2F4C2F

#2F4C2F is a dark, muted green. Relative luminance 0.060; OKLCH L 38.5% C 0.060 H 144.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2F4C2F
RGBrgb(47, 76, 47)
HSLhsl(120, 24%, 24%)
HSVhsv(120, 38%, 30%)
CMYKcmyk(38.2%, 0%, 38.2%, 70.2%)
CIE-LABlab(29.36, -17.77, 13.91)
CIE-LCHlch(29.36, 22.56, 141.95°)
OKLaboklab(38.48% -0.0484 0.0348)
OKLCHoklch(38.48% 0.06 144.3)
XYZxyz(4.2696, 5.9782, 3.6177)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C2F #4C2F4C
analogous
#3E4C2F #2F4C2F #2F4C3E
triadic
#2F4C2F #2F2F4C #4C2F2F
tetradic
#2F4C2F #2F3E4C #4C2F4C #4C3E2F
square
#2F4C2F #2F3E4C #4C2F4C #4C3E2F
split-complementary
#2F4C2F #3E2F4C #4C2F3E
monochromatic
#0C130C #182618 #2F4C2F #467246 #5E985E

Accessibility & contrast

On white

9.56
#2F4C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2F4C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C2F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C2F#FFFFFF#000000##FFFFFF
##2F4C2F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472D
Deuteranopia (green-blind)
#494431
Tritanopia (blue-blind)
#2C4A45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4c2f;
/* rgb */ color: rgb(47, 76, 47);
/* oklch */ color: oklch(38.5% 0.060 144.3);
Tailwind
colors: {
  custom: {
    50: '#697e67',
    500: '#2f4c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c2f;
$custom-light: #697e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c2f",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 23.577,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.05964,
    "h": 144.3
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#2F4C2F
secondary
#7D5A7D
accent
#68C0C0
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F4C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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