#2F4F2F#2F4F2F

#2F4F2F is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.3% C 0.065 H 144.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2F4F2F
RGBrgb(47, 79, 47)
HSLhsl(120, 25%, 25%)
HSVhsv(120, 41%, 31%)
CMYKcmyk(40.5%, 0%, 40.5%, 69%)
CIE-LABlab(30.40, -19.38, 15.29)
CIE-LCHlch(30.40, 24.69, 141.73°)
OKLaboklab(39.33% -0.0528 0.0381)
OKLCHoklch(39.33% 0.065 144.2)
XYZxyz(4.4812, 6.4013, 3.6882)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F2F #4F2F4F
analogous
#3F4F2F #2F4F2F #2F4F3F
triadic
#2F4F2F #2F2F4F #4F2F2F
tetradic
#2F4F2F #2F3F4F #4F2F4F #4F3F2F
square
#2F4F2F #2F3F4F #4F2F4F #4F3F2F
split-complementary
#2F4F2F #3F2F4F #4F2F3F
monochromatic
#0B130B #182918 #2F4F2F #467546 #5D9C5D

Accessibility & contrast

On white

9.21
#2F4F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F4F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4F2F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4F2F#FFFFFF#000000##FFFFFF
##2F4F2F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2D
Deuteranopia (green-blind)
#4B4631
Tritanopia (blue-blind)
#2B4D47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f4f2f;
/* rgb */ color: rgb(47, 79, 47);
/* oklch */ color: oklch(39.3% 0.065 144.2);
Tailwind
colors: {
  custom: {
    50: '#698068',
    500: '#2f4f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f2f;
$custom-light: #698068;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f2f",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 25.397,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39328,
    "c": 0.06512,
    "h": 144.2
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#2F4F2F
secondary
#805A80
accent
#66C2C2
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F4F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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