#2F4C22#2F4C22

#2F4C22 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.2% C 0.075 H 136.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2F4C22
RGBrgb(47, 76, 34)
HSLhsl(101, 38%, 22%)
HSVhsv(101, 55%, 30%)
CMYKcmyk(38.2%, 0%, 55.3%, 70.2%)
CIE-LABlab(29.13, -19.95, 21.45)
CIE-LCHlch(29.13, 29.29, 132.93°)
OKLaboklab(38.22% -0.0549 0.0515)
OKLCHoklch(38.22% 0.075 136.8)
XYZxyz(4.0454, 5.8885, 2.4365)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C22 #3F224C
analogous
#444C22 #2F4C22 #224C2A
triadic
#2F4C22 #222F4C #4C222F
tetradic
#2F4C22 #22444C #3F224C #4C2A22
square
#2F4C22 #22444C #3F224C #4C2A22
split-complementary
#2F4C22 #2A224C #4C2244
monochromatic
#0D1509 #15220F #2F4C22 #497635 #63A148

Accessibility & contrast

On white

9.64
#2F4C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2F4C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C22
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C22#FFFFFF#000000##FFFFFF
##2F4C221.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461E
Deuteranopia (green-blind)
#4A4425
Tritanopia (blue-blind)
#2E4942
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4c22;
/* rgb */ color: rgb(47, 76, 34);
/* oklch */ color: oklch(38.2% 0.075 136.8);
Tailwind
colors: {
  custom: {
    50: '#697e5e',
    500: '#2f4c22',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c22;
$custom-light: #697e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c22",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 101.429,
    "s": 38.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.07527,
    "h": 136.8
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#2F4C22
secondary
#6F4A80
accent
#5ACEAA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2F4C22

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

Preview Lab → · Contrast checker → · Palette generator →

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