#2F832A#2F832A

#2F832A is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.149 H 142.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F832A
RGBrgb(47, 131, 42)
HSLhsl(117, 51%, 34%)
HSVhsv(117, 68%, 51%)
CMYKcmyk(64.1%, 0%, 67.9%, 48.6%)
CIE-LABlab(48.26, -43.29, 39.37)
CIE-LCHlch(48.26, 58.52, 137.72°)
OKLaboklab(53.96% -0.1179 0.0909)
OKLCHoklch(53.96% 0.149 142.4)
XYZxyz(9.7060, 17.0032, 4.9605)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F832A #7E2A83
analogous
#5C832A #2F832A #2A8352
triadic
#2F832A #2A2F83 #832A2F
tetradic
#2F832A #2A5C83 #7E2A83 #83522A
square
#2F832A #2A5C83 #7E2A83 #83522A
split-complementary
#2F832A #522A83 #832A5C
monochromatic
#0E260C #1E551B #2F832A #40B139 #63CB5D

Accessibility & contrast

On white

4.77
#2F832A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F832A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F832A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F832A#FFFFFF#000000##FFFFFF
##2F832A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771E
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#207F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f832a;
/* rgb */ color: rgb(47, 131, 42);
/* oklch */ color: oklch(54.0% 0.149 142.4);
Tailwind
colors: {
  custom: {
    50: '#72a868',
    500: '#2f832a',
    950: '#000000',
  },
}
SCSS
$custom: #2f832a;
$custom-light: #72a868;
$custom-dark: #000000;
JSON
{
  "hex": "#2f832a",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 42
  },
  "hsl": {
    "h": 116.629,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.14887,
    "h": 142.4
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#2F832A
secondary
#AC58B1
accent
#4DDBD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F832A

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

Preview Lab → · Contrast checker → · Palette generator →

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