#2F9D38#2F9D38

#2F9D38 is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.3% C 0.171 H 144.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2F9D38
RGBrgb(47, 157, 56)
HSLhsl(125, 54%, 40%)
HSVhsv(125, 70%, 62%)
CMYKcmyk(70.1%, 0%, 64.3%, 38.4%)
CIE-LABlab(57.08, -51.30, 42.82)
CIE-LCHlch(57.08, 66.82, 140.15°)
OKLaboklab(61.3% -0.1388 0.0998)
OKLCHoklch(61.3% 0.171 144.3)
XYZxyz(13.9422, 25.0023, 7.8318)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D38 #9D2F94
analogous
#5D9D2F #2F9D38 #2F9D6F
triadic
#2F9D38 #382F9D #9D382F
tetradic
#2F9D38 #2F5D9D #9D2F94 #9D6F2F
square
#2F9D38 #2F5D9D #9D2F94 #9D6F2F
split-complementary
#2F9D38 #6F2F9D #9D2F5D
monochromatic
#133F16 #216E27 #2F9D38 #43C74D #72D57A

Accessibility & contrast

On white

3.50
#2F9D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#2F9D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9D38
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9D38#FFFFFF#000000##000000
##2F9D381.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E2C
Deuteranopia (green-blind)
#938641
Tritanopia (blue-blind)
#099988
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9d38;
/* rgb */ color: rgb(47, 157, 56);
/* oklch */ color: oklch(61.3% 0.171 144.3);
Tailwind
colors: {
  custom: {
    50: '#77bb73',
    500: '#2f9d38',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d38;
$custom-light: #77bb73;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d38",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 124.909,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.17098,
    "h": 144.3
  },
  "luminance": 0.25004
}

Semantic roles & 50–950 ramp

primary
#2F9D38
secondary
#BC6BB6
accent
#4BD1DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2F9D38

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

Preview Lab → · Contrast checker → · Palette generator →

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