#2F9C1F#2F9C1F

#2F9C1F is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.8% C 0.186 H 141.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2F9C1F
RGBrgb(47, 156, 31)
HSLhsl(112, 67%, 37%)
HSVhsv(112, 80%, 61%)
CMYKcmyk(69.9%, 0%, 80.1%, 38.8%)
CIE-LABlab(56.56, -53.15, 52.00)
CIE-LCHlch(56.56, 74.35, 135.63°)
OKLaboklab(60.81% -0.1451 0.1159)
OKLCHoklch(60.81% 0.186 141.4)
XYZxyz(13.3074, 24.4788, 5.3196)
Luminance0.2448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9C1F #8C1F9C
analogous
#6E9C1F #2F9C1F #1F9C4E
triadic
#2F9C1F #1F2F9C #9C1F2F
tetradic
#2F9C1F #1F6E9C #8C1F9C #9C4E1F
square
#2F9C1F #1F6E9C #8C1F9C #9C4E1F
split-complementary
#2F9C1F #4E1F9C #9C1F6E
monochromatic
#10360B #206915 #2F9C1F #3ECF29 #69DE58

Accessibility & contrast

On white

3.56
#2F9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#2F9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9C1F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9C1F#FFFFFF#000000##000000
##2F9C1F1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#159785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9c1f;
/* rgb */ color: rgb(47, 156, 31);
/* oklch */ color: oklch(60.8% 0.186 141.4);
Tailwind
colors: {
  custom: {
    50: '#78ba65',
    500: '#2f9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f9c1f;
$custom-light: #78ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9c1f",
  "rgb": {
    "r": 47,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 112.32,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.18569,
    "h": 141.4
  },
  "luminance": 0.2448
}

Semantic roles & 50–950 ramp

primary
#2F9C1F
secondary
#B455C1
accent
#3EEAD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2F9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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