#2F522C#2F522C

#2F522C is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.1% C 0.074 H 142.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2F522C
RGBrgb(47, 82, 44)
HSLhsl(115, 30%, 25%)
HSVhsv(115, 46%, 32%)
CMYKcmyk(42.7%, 0%, 46.3%, 67.8%)
CIE-LABlab(31.39, -21.50, 18.40)
CIE-LCHlch(31.39, 28.30, 139.44°)
OKLaboklab(40.12% -0.0586 0.0452)
OKLCHoklch(40.12% 0.074 142.4)
XYZxyz(4.6440, 6.8205, 3.4542)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F522C #4F2C52
analogous
#42522C #2F522C #2C523C
triadic
#2F522C #2C2F52 #522C2F
tetradic
#2F522C #2C4252 #4F2C52 #523C2C
square
#2F522C #2C4252 #4F2C52 #523C2C
split-complementary
#2F522C #3C2C52 #522C42
monochromatic
#0B140B #182A17 #2F522C #467A41 #5DA257

Accessibility & contrast

On white

8.88
#2F522C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F522C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F522C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F522C#FFFFFF#000000##FFFFFF
##2F522C1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#4F492E
Tritanopia (blue-blind)
#2C5049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f522c;
/* rgb */ color: rgb(47, 82, 44);
/* oklch */ color: oklch(40.1% 0.074 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a8365',
    500: '#2f522c',
    950: '#000000',
  },
}
SCSS
$custom: #2f522c;
$custom-light: #6a8365;
$custom-dark: #000000;
JSON
{
  "hex": "#2f522c",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 44
  },
  "hsl": {
    "h": 115.263,
    "s": 30.159,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.07403,
    "h": 142.4
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#2F522C
secondary
#805684
accent
#61C6BE
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2F522C

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

Preview Lab → · Contrast checker → · Palette generator →

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