#2F9331#2F9331

#2F9331 is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.5% C 0.164 H 143.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F9331
RGBrgb(47, 147, 49)
HSLhsl(121, 52%, 38%)
HSVhsv(121, 68%, 58%)
CMYKcmyk(68%, 0%, 66.7%, 42.4%)
CIE-LABlab(53.70, -48.49, 42.20)
CIE-LCHlch(53.70, 64.28, 138.96°)
OKLaboklab(58.48% -0.1316 0.0977)
OKLCHoklch(58.48% 0.164 143.4)
XYZxyz(12.1597, 21.6923, 6.4513)
Luminance0.2169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9331 #932F91
analogous
#5F932F #2F9331 #2F9363
triadic
#2F9331 #312F93 #93312F
tetradic
#2F9331 #2F5F93 #932F91 #93632F
square
#2F9331 #2F5F93 #932F91 #93632F
split-complementary
#2F9331 #632F93 #932F5F
monochromatic
#113612 #206522 #2F9331 #3EC141 #6CD06E

Accessibility & contrast

On white

3.93
#2F9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#2F9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9331
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9331#FFFFFF#000000##000000
##2F93311.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968525
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#168F7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9331;
/* rgb */ color: rgb(47, 147, 49);
/* oklch */ color: oklch(58.5% 0.164 143.4);
Tailwind
colors: {
  custom: {
    50: '#75b46e',
    500: '#2f9331',
    950: '#000000',
  },
}
SCSS
$custom: #2f9331;
$custom-light: #75b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9331",
  "rgb": {
    "r": 47,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 121.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.16388,
    "h": 143.4
  },
  "luminance": 0.21694
}

Semantic roles & 50–950 ramp

primary
#2F9331
secondary
#B766B6
accent
#4DD8DB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F9331

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

Preview Lab → · Contrast checker → · Palette generator →

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