#2F8819#2F8819

#2F8819 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.166 H 140.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F8819
RGBrgb(47, 136, 25)
HSLhsl(108, 69%, 32%)
HSVhsv(108, 82%, 53%)
CMYKcmyk(65.4%, 0%, 81.6%, 46.7%)
CIE-LABlab(49.84, -46.55, 47.51)
CIE-LCHlch(49.84, 66.51, 134.42°)
OKLaboklab(55.23% -0.1276 0.1056)
OKLCHoklch(55.23% 0.166 140.4)
XYZxyz(10.1514, 18.2818, 3.9133)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8819 #721988
analogous
#678819 #2F8819 #19883B
triadic
#2F8819 #192F88 #88192F
tetradic
#2F8819 #196788 #721988 #883B19
square
#2F8819 #196788 #721988 #883B19
split-complementary
#2F8819 #3B1988 #881967
monochromatic
#0B2106 #1D540F #2F8819 #41BC23 #5FDC40

Accessibility & contrast

On white

4.51
#2F8819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2F8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8819
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8819#FFFFFF#000000##000000
##2F88191.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#218374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8819;
/* rgb */ color: rgb(47, 136, 25);
/* oklch */ color: oklch(55.2% 0.166 140.4);
Tailwind
colors: {
  custom: {
    50: '#74ac60',
    500: '#2f8819',
    950: '#000000',
  },
}
SCSS
$custom: #2f8819;
$custom-light: #74ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8819",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 108.108,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55225,
    "c": 0.16566,
    "h": 140.4
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#2F8819
secondary
#A341BB
accent
#3CECC9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8819

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

Preview Lab → · Contrast checker → · Palette generator →

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