#2F8F19#2F8F19

#2F8F19 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.174 H 140.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F8F19
RGBrgb(47, 143, 25)
HSLhsl(109, 70%, 33%)
HSVhsv(109, 83%, 56%)
CMYKcmyk(67.1%, 0%, 82.5%, 43.9%)
CIE-LABlab(52.20, -49.04, 49.72)
CIE-LCHlch(52.20, 69.83, 134.60°)
OKLaboklab(57.18% -0.1343 0.1103)
OKLCHoklch(57.18% 0.174 140.6)
XYZxyz(11.1697, 20.3183, 4.2527)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F19 #79198F
analogous
#6A8F19 #2F8F19 #198F3E
triadic
#2F8F19 #192F8F #8F192F
tetradic
#2F8F19 #196A8F #79198F #8F3E19
square
#2F8F19 #196A8F #79198F #8F3E19
split-complementary
#2F8F19 #3E198F #8F196A
monochromatic
#0D2707 #1E5B10 #2F8F19 #40C322 #61DE44

Accessibility & contrast

On white

4.15
#2F8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2F8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F19
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F19#FFFFFF#000000##000000
##2F8F191.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8f19;
/* rgb */ color: rgb(47, 143, 25);
/* oklch */ color: oklch(57.2% 0.174 140.6);
Tailwind
colors: {
  custom: {
    50: '#76b161',
    500: '#2f8f19',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f19;
$custom-light: #76b161;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f19",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 108.814,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.17376,
    "h": 140.6
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#2F8F19
secondary
#A844BF
accent
#3BEDCC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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