#2F5D22#2F5D22

#2F5D22 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.1% C 0.103 H 139.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2F5D22
RGBrgb(47, 93, 34)
HSLhsl(107, 46%, 25%)
HSVhsv(107, 63%, 36%)
CMYKcmyk(49.5%, 0%, 63.4%, 63.5%)
CIE-LABlab(35.10, -28.34, 28.51)
CIE-LCHlch(35.10, 40.20, 134.82°)
OKLaboklab(43.1% -0.0778 0.0669)
OKLCHoklch(43.1% 0.103 139.3)
XYZxyz(5.3752, 8.5482, 2.8798)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D22 #50225D
analogous
#4C5D22 #2F5D22 #225D33
triadic
#2F5D22 #222F5D #5D222F
tetradic
#2F5D22 #224C5D #50225D #5D3322
square
#2F5D22 #224C5D #50225D #5D3322
split-complementary
#2F5D22 #33225D #5D224C
monochromatic
#0B1608 #183012 #2F5D22 #468A32 #5CB743

Accessibility & contrast

On white

7.75
#2F5D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2F5D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D22
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D22#FFFFFF#000000##FFFFFF
##2F5D221.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551C
Deuteranopia (green-blind)
#595127
Tritanopia (blue-blind)
#2B5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5d22;
/* rgb */ color: rgb(47, 93, 34);
/* oklch */ color: oklch(43.1% 0.103 139.3);
Tailwind
colors: {
  custom: {
    50: '#6c8b5f',
    500: '#2f5d22',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d22;
$custom-light: #6c8b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d22",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 34
  },
  "hsl": {
    "h": 106.78,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.43095,
    "c": 0.10261,
    "h": 139.3
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

primary
#2F5D22
secondary
#814A91
accent
#52D6B9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2F5D22

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

Preview Lab → · Contrast checker → · Palette generator →

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