#2F952B#2F952B

#2F952B is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.171 H 142.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2F952B
RGBrgb(47, 149, 43)
HSLhsl(118, 55%, 38%)
HSVhsv(118, 71%, 58%)
CMYKcmyk(68.5%, 0%, 71.1%, 41.6%)
CIE-LABlab(54.31, -49.80, 45.41)
CIE-LCHlch(54.31, 67.39, 137.64°)
OKLaboklab(58.97% -0.1354 0.1038)
OKLCHoklch(58.97% 0.171 142.5)
XYZxyz(12.3551, 22.2724, 5.9329)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F952B #912B95
analogous
#64952B #2F952B #2B955C
triadic
#2F952B #2B2F95 #952B2F
tetradic
#2F952B #2B6495 #912B95 #955C2B
square
#2F952B #2B6495 #912B95 #955C2B
split-complementary
#2F952B #5C2B95 #952B64
monochromatic
#113610 #20661D #2F952B #3EC439 #6BD367

Accessibility & contrast

On white

3.85
#2F952B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#2F952B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F952B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F952B#FFFFFF#000000##000000
##2F952B1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871B
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#179180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f952b;
/* rgb */ color: rgb(47, 149, 43);
/* oklch */ color: oklch(59.0% 0.171 142.5);
Tailwind
colors: {
  custom: {
    50: '#76b56a',
    500: '#2f952b',
    950: '#000000',
  },
}
SCSS
$custom: #2f952b;
$custom-light: #76b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f952b",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 117.736,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.17061,
    "h": 142.5
  },
  "luminance": 0.22274
}

Semantic roles & 50–950 ramp

primary
#2F952B
secondary
#B662BA
accent
#49DFD9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F952B

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

Preview Lab → · Contrast checker → · Palette generator →

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