#2F522D#2F522D

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

Color values

HEX#2F522D
RGBrgb(47, 82, 45)
HSLhsl(117, 29%, 25%)
HSVhsv(117, 45%, 32%)
CMYKcmyk(42.7%, 0%, 45.1%, 67.8%)
CIE-LABlab(31.41, -21.32, 17.83)
CIE-LCHlch(31.41, 27.79, 140.11°)
OKLaboklab(40.14% -0.0581 0.0439)
OKLCHoklch(40.14% 0.073 142.9)
XYZxyz(4.6630, 6.8281, 3.5544)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F522D #502D52
analogous
#41522D #2F522D #2D523E
triadic
#2F522D #2D2F52 #522D2F
tetradic
#2F522D #2D4152 #502D52 #523E2D
square
#2F522D #2D4152 #502D52 #523E2D
split-complementary
#2F522D #3E2D52 #522D41
monochromatic
#0B140B #182A17 #2F522D #467A43 #5CA158

Accessibility & contrast

On white

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

On black

2.37
#2F522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F522D#FFFFFF#000000##FFFFFF
##2F522D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C2A
Deuteranopia (green-blind)
#4E492F
Tritanopia (blue-blind)
#2B5049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f522d;
/* rgb */ color: rgb(47, 82, 45);
/* oklch */ color: oklch(40.1% 0.073 142.9);
Tailwind
colors: {
  custom: {
    50: '#698366',
    500: '#2f522d',
    950: '#000000',
  },
}
SCSS
$custom: #2f522d;
$custom-light: #698366;
$custom-dark: #000000;
JSON
{
  "hex": "#2f522d",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 116.757,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.07285,
    "h": 142.9
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#2F522D
secondary
#815784
accent
#62C5C0
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F522D

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

Preview Lab → · Contrast checker → · Palette generator →

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