#2F9D1F#2F9D1F

#2F9D1F is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.187 H 141.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2F9D1F
RGBrgb(47, 157, 31)
HSLhsl(112, 67%, 37%)
HSVhsv(112, 80%, 62%)
CMYKcmyk(70.1%, 0%, 80.3%, 38.4%)
CIE-LABlab(56.90, -53.48, 52.31)
CIE-LCHlch(56.90, 74.81, 135.63°)
OKLaboklab(61.09% -0.146 0.1165)
OKLCHoklch(61.09% 0.187 141.4)
XYZxyz(13.4759, 24.8158, 5.3758)
Luminance0.2482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D1F #8D1F9D
analogous
#6E9D1F #2F9D1F #1F9D4E
triadic
#2F9D1F #1F2F9D #9D1F2F
tetradic
#2F9D1F #1F6E9D #8D1F9D #9D4E1F
square
#2F9D1F #1F6E9D #8D1F9D #9D4E1F
split-complementary
#2F9D1F #4E1F9D #9D1F6E
monochromatic
#10370B #206A15 #2F9D1F #3ED029 #69DE58

Accessibility & contrast

On white

3.52
#2F9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#2F9D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9D1F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9D1F#FFFFFF#000000##000000
##2F9D1F1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#159886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9d1f;
/* rgb */ color: rgb(47, 157, 31);
/* oklch */ color: oklch(61.1% 0.187 141.4);
Tailwind
colors: {
  custom: {
    50: '#78bb66',
    500: '#2f9d1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d1f;
$custom-light: #78bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d1f",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 112.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.1868,
    "h": 141.4
  },
  "luminance": 0.24817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F9D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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