#2F8E1B#2F8E1B

#2F8E1B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.172 H 140.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F8E1B
RGBrgb(47, 142, 27)
HSLhsl(110, 68%, 33%)
HSVhsv(110, 81%, 56%)
CMYKcmyk(66.9%, 0%, 81%, 44.3%)
CIE-LABlab(51.87, -48.56, 48.80)
CIE-LCHlch(51.87, 68.85, 134.86°)
OKLaboklab(56.91% -0.1329 0.1086)
OKLCHoklch(56.91% 0.172 140.7)
XYZxyz(11.0426, 20.0284, 4.3206)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E1B #7A1B8E
analogous
#688E1B #2F8E1B #1B8E40
triadic
#2F8E1B #1B2F8E #8E1B2F
tetradic
#2F8E1B #1B688E #7A1B8E #8E401B
square
#2F8E1B #1B688E #7A1B8E #8E401B
split-complementary
#2F8E1B #401B8E #8E1B68
monochromatic
#0D2707 #1E5B11 #2F8E1B #40C125 #61DC47

Accessibility & contrast

On white

4.20
#2F8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E1B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E1B#FFFFFF#000000##000000
##2F8E1B1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#1E8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e1b;
/* rgb */ color: rgb(47, 142, 27);
/* oklch */ color: oklch(56.9% 0.172 140.7);
Tailwind
colors: {
  custom: {
    50: '#75b062',
    500: '#2f8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e1b;
$custom-light: #75b062;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e1b",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 109.565,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.17167,
    "h": 140.7
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#2F8E1B
secondary
#A947BE
accent
#3DEBCD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2F8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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