#2F9518#2F9518

#2F9518 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.8% C 0.181 H 140.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F9518
RGBrgb(47, 149, 24)
HSLhsl(109, 72%, 34%)
HSVhsv(109, 84%, 58%)
CMYKcmyk(68.5%, 0%, 83.9%, 41.6%)
CIE-LABlab(54.20, -51.17, 51.86)
CIE-LCHlch(54.20, 72.86, 134.62°)
OKLaboklab(58.84% -0.1401 0.1146)
OKLCHoklch(58.84% 0.181 140.7)
XYZxyz(12.0840, 22.1639, 4.5052)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9518 #7E1895
analogous
#6E9518 #2F9518 #189540
triadic
#2F9518 #182F95 #95182F
tetradic
#2F9518 #186E95 #7E1895 #954018
square
#2F9518 #186E95 #7E1895 #954018
split-complementary
#2F9518 #401895 #95186E
monochromatic
#0E2C07 #1E6010 #2F9518 #40CA20 #63E146

Accessibility & contrast

On white

3.87
#2F9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2F9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9518
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9518#FFFFFF#000000##000000
##2F95181.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#1B907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9518;
/* rgb */ color: rgb(47, 149, 24);
/* oklch */ color: oklch(58.8% 0.181 140.7);
Tailwind
colors: {
  custom: {
    50: '#77b561',
    500: '#2f9518',
    950: '#000000',
  },
}
SCSS
$custom: #2f9518;
$custom-light: #77b561;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9518",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 108.96,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.18099,
    "h": 140.7
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

primary
#2F9518
secondary
#AC46C2
accent
#39EFCD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9518

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

Preview Lab → · Contrast checker → · Palette generator →

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