#2F9B31#2F9B31

#2F9B31 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.174 H 143.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F9B31
RGBrgb(47, 155, 49)
HSLhsl(121, 53%, 40%)
HSVhsv(121, 70%, 61%)
CMYKcmyk(69.7%, 0%, 68.4%, 39.2%)
CIE-LABlab(56.35, -51.34, 45.09)
CIE-LCHlch(56.35, 68.32, 138.71°)
OKLaboklab(60.68% -0.1393 0.1038)
OKLCHoklch(60.68% 0.174 143.3)
XYZxyz(13.4472, 24.2673, 6.8805)
Luminance0.2427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9B31 #9B2F99
analogous
#639B2F #2F9B31 #2F9B67
triadic
#2F9B31 #312F9B #9B312F
tetradic
#2F9B31 #2F639B #9B2F99 #9B672F
square
#2F9B31 #2F639B #9B2F99 #9B672F
split-complementary
#2F9B31 #672F9B #9B2F63
monochromatic
#133D13 #216C22 #2F9B31 #42C644 #71D472

Accessibility & contrast

On white

3.59
#2F9B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#2F9B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9B31
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9B31#FFFFFF#000000##000000
##2F9B311.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#109785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9b31;
/* rgb */ color: rgb(47, 155, 49);
/* oklch */ color: oklch(60.7% 0.174 143.3);
Tailwind
colors: {
  custom: {
    50: '#77b96e',
    500: '#2f9b31',
    950: '#000000',
  },
}
SCSS
$custom: #2f9b31;
$custom-light: #77b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9b31",
  "rgb": {
    "r": 47,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 121.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.17372,
    "h": 143.3
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#2F9B31
secondary
#BB6ABA
accent
#4BDADD
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9B31

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

Preview Lab → · Contrast checker → · Palette generator →

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