#2F5C2D#2F5C2D

#2F5C2D is a dark, moderate green. Relative luminance 0.084; OKLCH L 43.0% C 0.090 H 143.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2F5C2D
RGBrgb(47, 92, 45)
HSLhsl(117, 34%, 27%)
HSVhsv(117, 51%, 36%)
CMYKcmyk(48.9%, 0%, 51.1%, 63.9%)
CIE-LABlab(34.90, -26.31, 22.26)
CIE-LCHlch(34.90, 34.47, 139.77°)
OKLaboklab(42.98% -0.0717 0.054)
OKLCHoklch(42.98% 0.09 143)
XYZxyz(5.4728, 8.4477, 3.8243)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C2D #5A2D5C
analogous
#475C2D #2F5C2D #2D5C43
triadic
#2F5C2D #2D2F5C #5C2D2F
tetradic
#2F5C2D #2D475C #5A2D5C #5C432D
square
#2F5C2D #2D475C #5A2D5C #5C432D
split-complementary
#2F5C2D #432D5C #5C2D47
monochromatic
#0A150A #1A3319 #2F5C2D #448541 #5AAD57

Accessibility & contrast

On white

7.81
#2F5C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5C2D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C2D#FFFFFF#000000##FFFFFF
##2F5C2D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5529
Deuteranopia (green-blind)
#585030
Tritanopia (blue-blind)
#2A5A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5c2d;
/* rgb */ color: rgb(47, 92, 45);
/* oklch */ color: oklch(43.0% 0.090 143.0);
Tailwind
colors: {
  custom: {
    50: '#6b8a67',
    500: '#2f5c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c2d;
$custom-light: #6b8a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c2d",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 117.447,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.08976,
    "h": 143
  },
  "luminance": 0.08448
}

Semantic roles & 50–950 ramp

primary
#2F5C2D
secondary
#8C578E
accent
#5DCAC6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F5C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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