#2F852D#2F852D

#2F852D is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.149 H 142.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F852D
RGBrgb(47, 133, 45)
HSLhsl(119, 49%, 35%)
HSVhsv(119, 66%, 52%)
CMYKcmyk(64.7%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.97, -43.73, 38.79)
CIE-LCHlch(48.97, 58.45, 138.43°)
OKLaboklab(54.55% -0.1189 0.09)
OKLCHoklch(54.55% 0.149 142.9)
XYZxyz(10.0329, 17.5679, 5.3443)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F852D #832D85
analogous
#5B852D #2F852D #2D8557
triadic
#2F852D #2D2F85 #852D2F
tetradic
#2F852D #2D5B85 #832D85 #85572D
square
#2F852D #2D5B85 #832D85 #85572D
split-complementary
#2F852D #572D85 #852D5B
monochromatic
#0F2A0E #1F571E #2F852D #3FB33C #65CA62

Accessibility & contrast

On white

4.65
#2F852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F852D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F852D#FFFFFF#000000##FFFFFF
##2F852D1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#7D7235
Tritanopia (blue-blind)
#1E8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f852d;
/* rgb */ color: rgb(47, 133, 45);
/* oklch */ color: oklch(54.6% 0.149 142.9);
Tailwind
colors: {
  custom: {
    50: '#73a96a',
    500: '#2f852d',
    950: '#000000',
  },
}
SCSS
$custom: #2f852d;
$custom-light: #73a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f852d",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 118.636,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.14914,
    "h": 142.9
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#2F852D
secondary
#AF5DB0
accent
#4FD9D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F852D

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

Preview Lab → · Contrast checker → · Palette generator →

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