#2F8218#2F8218

#2F8218 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.159 H 140.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F8218
RGBrgb(47, 130, 24)
HSLhsl(107, 69%, 30%)
HSVhsv(107, 82%, 51%)
CMYKcmyk(63.8%, 0%, 81.5%, 49%)
CIE-LABlab(47.80, -44.42, 45.90)
CIE-LCHlch(47.80, 63.88, 134.06°)
OKLaboklab(53.54% -0.1219 0.1021)
OKLCHoklch(53.54% 0.159 140.1)
XYZxyz(9.3194, 16.6347, 3.5837)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8218 #6B1882
analogous
#648218 #2F8218 #188236
triadic
#2F8218 #182F82 #82182F
tetradic
#2F8218 #186482 #6B1882 #823618
square
#2F8218 #186482 #6B1882 #823618
split-complementary
#2F8218 #361882 #821864
monochromatic
#0A1B05 #1C4E0E #2F8218 #42B622 #5DDB3A

Accessibility & contrast

On white

4.85
#2F8218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2F8218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8218
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8218#FFFFFF#000000##FFFFFF
##2F82181.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#237E6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8218;
/* rgb */ color: rgb(47, 130, 24);
/* oklch */ color: oklch(53.5% 0.159 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a75e',
    500: '#2f8218',
    950: '#000000',
  },
}
SCSS
$custom: #2f8218;
$custom-light: #73a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8218",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 106.981,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.15906,
    "h": 140.1
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#2F8218
secondary
#9C40B6
accent
#3CECC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8218

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

Preview Lab → · Contrast checker → · Palette generator →

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