#2F852C#2F852C

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

Color values

HEX#2F852C
RGBrgb(47, 133, 44)
HSLhsl(118, 50%, 35%)
HSVhsv(118, 67%, 52%)
CMYKcmyk(64.7%, 0%, 66.9%, 47.8%)
CIE-LABlab(48.96, -43.84, 39.23)
CIE-LCHlch(48.96, 58.83, 138.18°)
OKLaboklab(54.54% -0.1192 0.0909)
OKLCHoklch(54.54% 0.15 142.7)
XYZxyz(10.0139, 17.5603, 5.2441)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F852C #822C85
analogous
#5B852C #2F852C #2C8556
triadic
#2F852C #2C2F85 #852C2F
tetradic
#2F852C #2C5B85 #822C85 #85562C
square
#2F852C #2C5B85 #822C85 #85562C
split-complementary
#2F852C #562C85 #852C5B
monochromatic
#0E290E #1F571D #2F852C #3FB33B #64CB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F852C#FFFFFF#000000##FFFFFF
##2F852C1.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)
#887921
Deuteranopia (green-blind)
#7D7234
Tritanopia (blue-blind)
#1E8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f852c;
/* rgb */ color: rgb(47, 133, 44);
/* oklch */ color: oklch(54.5% 0.150 142.7);
Tailwind
colors: {
  custom: {
    50: '#73a969',
    500: '#2f852c',
    950: '#000000',
  },
}
SCSS
$custom: #2f852c;
$custom-light: #73a969;
$custom-dark: #000000;
JSON
{
  "hex": "#2f852c",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 44
  },
  "hsl": {
    "h": 117.978,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.14992,
    "h": 142.7
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#2F852C
secondary
#AE5CB1
accent
#4EDAD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F852C

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

Preview Lab → · Contrast checker → · Palette generator →

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