#2F9B2A#2F9B2A

#2F9B2A is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.178 H 142.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2F9B2A
RGBrgb(47, 155, 42)
HSLhsl(117, 57%, 39%)
HSVhsv(117, 73%, 61%)
CMYKcmyk(69.7%, 0%, 72.9%, 39.2%)
CIE-LABlab(56.30, -51.99, 47.87)
CIE-LCHlch(56.30, 70.67, 137.36°)
OKLaboklab(60.61% -0.1414 0.1088)
OKLCHoklch(60.61% 0.178 142.4)
XYZxyz(13.3108, 24.2128, 6.1621)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9B2A #962A9B
analogous
#679B2A #2F9B2A #2A9B5D
triadic
#2F9B2A #2A2F9B #9B2A2F
tetradic
#2F9B2A #2A679B #962A9B #9B5D2A
square
#2F9B2A #2A679B #962A9B #9B5D2A
split-complementary
#2F9B2A #5D2A9B #9B2A67
monochromatic
#123B10 #206B1D #2F9B2A #3FC939 #6ED669

Accessibility & contrast

On white

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

On black

5.84
#2F9B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9B2A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9B2A#FFFFFF#000000##000000
##2F9B2A1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C17
Deuteranopia (green-blind)
#928435
Tritanopia (blue-blind)
#139685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9b2a;
/* rgb */ color: rgb(47, 155, 42);
/* oklch */ color: oklch(60.6% 0.178 142.4);
Tailwind
colors: {
  custom: {
    50: '#78b96b',
    500: '#2f9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f9b2a;
$custom-light: #78b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9b2a",
  "rgb": {
    "r": 47,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 117.345,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60615,
    "c": 0.17841,
    "h": 142.4
  },
  "luminance": 0.24214
}

Semantic roles & 50–950 ramp

primary
#2F9B2A
secondary
#B964BD
accent
#47E1DA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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