#2F5C22#2F5C22

#2F5C22 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.101 H 139.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2F5C22
RGBrgb(47, 92, 34)
HSLhsl(107, 46%, 25%)
HSVhsv(107, 63%, 36%)
CMYKcmyk(48.9%, 0%, 63%, 63.9%)
CIE-LABlab(34.75, -27.87, 28.11)
CIE-LCHlch(34.75, 39.59, 134.75°)
OKLaboklab(42.81% -0.0765 0.0661)
OKLCHoklch(42.81% 0.101 139.2)
XYZxyz(5.2880, 8.3738, 2.8507)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C22 #4F225C
analogous
#4C5C22 #2F5C22 #225C32
triadic
#2F5C22 #222F5C #5C222F
tetradic
#2F5C22 #224C5C #4F225C #5C3222
square
#2F5C22 #224C5C #4F225C #5C3222
split-complementary
#2F5C22 #32225C #5C224C
monochromatic
#0B1608 #182F11 #2F5C22 #468933 #5DB543

Accessibility & contrast

On white

7.85
#2F5C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2F5C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C22
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C22#FFFFFF#000000##FFFFFF
##2F5C221.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541C
Deuteranopia (green-blind)
#595026
Tritanopia (blue-blind)
#2B594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5c22;
/* rgb */ color: rgb(47, 92, 34);
/* oklch */ color: oklch(42.8% 0.101 139.2);
Tailwind
colors: {
  custom: {
    50: '#6c8a5f',
    500: '#2f5c22',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c22;
$custom-light: #6c8a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c22",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 106.552,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.10109,
    "h": 139.2
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#2F5C22
secondary
#804A90
accent
#52D6B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2F5C22

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

Preview Lab → · Contrast checker → · Palette generator →

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