#2F9E1B#2F9E1B

#2F9E1B is a mid, vivid green. Relative luminance 0.251; OKLCH L 61.3% C 0.190 H 141.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2F9E1B
RGBrgb(47, 158, 27)
HSLhsl(111, 71%, 36%)
HSVhsv(111, 83%, 62%)
CMYKcmyk(70.3%, 0%, 82.9%, 38%)
CIE-LABlab(57.21, -54.05, 53.79)
CIE-LCHlch(57.21, 76.26, 135.14°)
OKLaboklab(61.34% -0.1477 0.1191)
OKLCHoklch(61.34% 0.19 141.1)
XYZxyz(13.5963, 25.1357, 5.1718)
Luminance0.2514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9E1B #8A1B9E
analogous
#719E1B #2F9E1B #1B9E49
triadic
#2F9E1B #1B2F9E #9E1B2F
tetradic
#2F9E1B #1B719E #8A1B9E #9E491B
square
#2F9E1B #1B719E #8A1B9E #9E491B
split-complementary
#2F9E1B #491B9E #9E1B71
monochromatic
#103509 #1F6A12 #2F9E1B #3FD224 #68E152

Accessibility & contrast

On white

3.48
#2F9E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#2F9E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9E1B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9E1B#FFFFFF#000000##000000
##2F9E1B1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#159986
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9e1b;
/* rgb */ color: rgb(47, 158, 27);
/* oklch */ color: oklch(61.3% 0.190 141.1);
Tailwind
colors: {
  custom: {
    50: '#79bc64',
    500: '#2f9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2f9e1b;
$custom-light: #79bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9e1b",
  "rgb": {
    "r": 47,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 110.84,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6134,
    "c": 0.18973,
    "h": 141.1
  },
  "luminance": 0.25137
}

Semantic roles & 50–950 ramp

primary
#2F9E1B
secondary
#B351C4
accent
#3AEED2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2F9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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