#2F5232#2F5232

#2F5232 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.067 H 146.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2F5232
RGBrgb(47, 82, 50)
HSLhsl(125, 27%, 25%)
HSVhsv(125, 43%, 32%)
CMYKcmyk(42.7%, 0%, 39%, 67.8%)
CIE-LABlab(31.51, -20.40, 14.92)
CIE-LCHlch(31.51, 25.28, 143.83°)
OKLaboklab(40.24% -0.0556 0.0373)
OKLCHoklch(40.24% 0.067 146.2)
XYZxyz(4.7651, 6.8689, 4.0917)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5232 #522F4F
analogous
#3D522F #2F5232 #2F5243
triadic
#2F5232 #322F52 #52322F
tetradic
#2F5232 #2F3D52 #522F4F #52432F
square
#2F5232 #2F3D52 #522F4F #52432F
split-complementary
#2F5232 #432F52 #522F3D
monochromatic
#0B130C #192B1A #2F5232 #45794A #5CA061

Accessibility & contrast

On white

8.85
#2F5232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5232
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5232#FFFFFF#000000##FFFFFF
##2F52321.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#2A504A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f5232;
/* rgb */ color: rgb(47, 82, 50);
/* oklch */ color: oklch(40.2% 0.067 146.2);
Tailwind
colors: {
  custom: {
    50: '#69836a',
    500: '#2f5232',
    950: '#000000',
  },
}
SCSS
$custom: #2f5232;
$custom-light: #69836a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5232",
  "rgb": {
    "r": 47,
    "g": 82,
    "b": 50
  },
  "hsl": {
    "h": 125.143,
    "s": 27.132,
    "l": 25.294
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.06692,
    "h": 146.2
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#2F5232
secondary
#835980
accent
#64BBC3
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F5232

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

Preview Lab → · Contrast checker → · Palette generator →

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