#2F962B#2F962B

#2F962B is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.172 H 142.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2F962B
RGBrgb(47, 150, 43)
HSLhsl(118, 55%, 38%)
HSVhsv(118, 71%, 59%)
CMYKcmyk(68.7%, 0%, 71.3%, 41.2%)
CIE-LABlab(54.65, -50.15, 45.76)
CIE-LCHlch(54.65, 67.89, 137.62°)
OKLaboklab(59.25% -0.1364 0.1045)
OKLCHoklch(59.25% 0.172 142.5)
XYZxyz(12.5140, 22.5901, 5.9859)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F962B #922B96
analogous
#64962B #2F962B #2B965C
triadic
#2F962B #2B2F96 #962B2F
tetradic
#2F962B #2B6496 #922B96 #965C2B
square
#2F962B #2B6496 #922B96 #965C2B
split-complementary
#2F962B #5C2B96 #962B64
monochromatic
#113710 #20661D #2F962B #3EC639 #6CD468

Accessibility & contrast

On white

3.81
#2F962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#2F962B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F962B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F962B#FFFFFF#000000##000000
##2F962B1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881A
Deuteranopia (green-blind)
#8D8035
Tritanopia (blue-blind)
#169181
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f962b;
/* rgb */ color: rgb(47, 150, 43);
/* oklch */ color: oklch(59.2% 0.172 142.5);
Tailwind
colors: {
  custom: {
    50: '#76b66b',
    500: '#2f962b',
    950: '#000000',
  },
}
SCSS
$custom: #2f962b;
$custom-light: #76b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f962b",
  "rgb": {
    "r": 47,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 117.757,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.17181,
    "h": 142.5
  },
  "luminance": 0.22591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F962B

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

Preview Lab → · Contrast checker → · Palette generator →

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