#2F852B#2F852B

#2F852B is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.151 H 142.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F852B
RGBrgb(47, 133, 43)
HSLhsl(117, 51%, 35%)
HSVhsv(117, 68%, 52%)
CMYKcmyk(64.7%, 0%, 67.7%, 47.8%)
CIE-LABlab(48.95, -43.95, 39.67)
CIE-LCHlch(48.95, 59.20, 137.93°)
OKLaboklab(54.53% -0.1196 0.0917)
OKLCHoklch(54.53% 0.151 142.5)
XYZxyz(9.9953, 17.5528, 5.1463)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F852B #812B85
analogous
#5C852B #2F852B #2B8554
triadic
#2F852B #2B2F85 #852B2F
tetradic
#2F852B #2B5C85 #812B85 #85542B
square
#2F852B #2B5C85 #812B85 #85542B
split-complementary
#2F852B #542B85 #852B5C
monochromatic
#0E290D #1F571C #2F852B #3FB33A #64CB5F

Accessibility & contrast

On white

4.66
#2F852B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2F852B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F852B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F852B#FFFFFF#000000##FFFFFF
##2F852B1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#7D7233
Tritanopia (blue-blind)
#1F8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f852b;
/* rgb */ color: rgb(47, 133, 43);
/* oklch */ color: oklch(54.5% 0.151 142.5);
Tailwind
colors: {
  custom: {
    50: '#73a969',
    500: '#2f852b',
    950: '#000000',
  },
}
SCSS
$custom: #2f852b;
$custom-light: #73a969;
$custom-dark: #000000;
JSON
{
  "hex": "#2f852b",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 117.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.15068,
    "h": 142.5
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#2F852B
secondary
#AD5BB1
accent
#4DDBD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F852B

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

Preview Lab → · Contrast checker → · Palette generator →

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