#2F8D1B#2F8D1B

#2F8D1B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.171 H 140.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8D1B
RGBrgb(47, 141, 27)
HSLhsl(109, 68%, 33%)
HSVhsv(109, 81%, 55%)
CMYKcmyk(66.7%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.53, -48.21, 48.48)
CIE-LCHlch(51.53, 68.37, 134.84°)
OKLaboklab(56.63% -0.132 0.108)
OKLCHoklch(56.63% 0.171 140.7)
XYZxyz(10.8945, 19.7321, 4.2712)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D1B #791B8D
analogous
#688D1B #2F8D1B #1B8D40
triadic
#2F8D1B #1B2F8D #8D1B2F
tetradic
#2F8D1B #1B688D #791B8D #8D401B
square
#2F8D1B #1B688D #791B8D #8D401B
split-complementary
#2F8D1B #401B8D #8D1B68
monochromatic
#0D2607 #1E5A11 #2F8D1B #40C025 #61DC47

Accessibility & contrast

On white

4.25
#2F8D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D1B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D1B#FFFFFF#000000##000000
##2F8D1B1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d1b;
/* rgb */ color: rgb(47, 141, 27);
/* oklch */ color: oklch(56.6% 0.171 140.7);
Tailwind
colors: {
  custom: {
    50: '#75af61',
    500: '#2f8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d1b;
$custom-light: #75af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d1b",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 109.474,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.17051,
    "h": 140.7
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#2F8D1B
secondary
#A846BD
accent
#3DEBCC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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