#2F5C2F#2F5C2F

#2F5C2F is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.088 H 143.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2F5C2F
RGBrgb(47, 92, 47)
HSLhsl(120, 32%, 27%)
HSVhsv(120, 49%, 36%)
CMYKcmyk(48.9%, 0%, 48.9%, 63.9%)
CIE-LABlab(34.93, -25.99, 21.15)
CIE-LCHlch(34.93, 33.51, 140.86°)
OKLaboklab(43.02% -0.0707 0.0516)
OKLCHoklch(43.02% 0.088 143.9)
XYZxyz(5.5123, 8.4635, 4.0319)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C2F #5C2F5C
analogous
#465C2F #2F5C2F #2F5C46
triadic
#2F5C2F #2F2F5C #5C2F2F
tetradic
#2F5C2F #2F465C #5C2F5C #5C462F
square
#2F5C2F #2F465C #5C2F5C #5C462F
split-complementary
#2F5C2F #462F5C #5C2F46
monochromatic
#0A140A #1A331A #2F5C2F #448544 #5AAB5A

Accessibility & contrast

On white

7.80
#2F5C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2F5C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C2F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C2F#FFFFFF#000000##FFFFFF
##2F5C2F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552B
Deuteranopia (green-blind)
#575132
Tritanopia (blue-blind)
#295A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5c2f;
/* rgb */ color: rgb(47, 92, 47);
/* oklch */ color: oklch(43.0% 0.088 143.9);
Tailwind
colors: {
  custom: {
    50: '#6b8a68',
    500: '#2f5c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c2f;
$custom-light: #6b8a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c2f",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.43015,
    "c": 0.08756,
    "h": 143.9
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#2F5C2F
secondary
#8E598E
accent
#5FC9C9
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F5C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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