#2F522E#2F522E

#2F522E is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.2% C 0.072 H 143.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2F522E
RGBrgb(47, 82, 46)
HSLhsl(118, 28%, 25%)
HSVhsv(118, 44%, 32%)
CMYKcmyk(42.7%, 0%, 43.9%, 67.8%)
CIE-LABlab(31.43, -21.15, 17.25)
CIE-LCHlch(31.43, 27.29, 140.80°)
OKLaboklab(40.16% -0.0576 0.0426)
OKLCHoklch(40.16% 0.072 143.5)
XYZxyz(4.6825, 6.8359, 3.6570)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F522E #512E52
analogous
#41522E #2F522E #2E523F
triadic
#2F522E #2E2F52 #522E2F
tetradic
#2F522E #2E4152 #512E52 #523F2E
square
#2F522E #2E4152 #512E52 #523F2E
split-complementary
#2F522E #3F2E52 #522E41
monochromatic
#0B140B #192B18 #2F522E #457944 #5CA05A

Accessibility & contrast

On white

8.87
#2F522E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F522E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F522E#FFFFFF#000000##FFFFFF
##2F522E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2B
Deuteranopia (green-blind)
#4E4930
Tritanopia (blue-blind)
#2B5049
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f522e;
/* rgb */ color: rgb(47, 82, 46);
/* oklch */ color: oklch(40.2% 0.072 143.5);
Tailwind
colors: {
  custom: {
    50: '#698367',
    500: '#2f522e',
    950: '#000000',
  },
}
SCSS
$custom: #2f522e;
$custom-light: #698367;
$custom-dark: #000000;
JSON
{
  "hex": "#2f522e",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 118.333,
    "s": 28.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40156,
    "c": 0.07167,
    "h": 143.5
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#2F522E
secondary
#825884
accent
#63C4C2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F522E

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

Preview Lab → · Contrast checker → · Palette generator →

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