#2F7C19#2F7C19

#2F7C19 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.151 H 139.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F7C19
RGBrgb(47, 124, 25)
HSLhsl(107, 66%, 29%)
HSVhsv(107, 80%, 49%)
CMYKcmyk(62.1%, 0%, 79.8%, 51.4%)
CIE-LABlab(45.76, -42.11, 43.61)
CIE-LCHlch(45.76, 60.63, 134.00°)
OKLaboklab(51.85% -0.1157 0.0975)
OKLCHoklch(51.85% 0.151 139.9)
XYZxyz(8.5550, 15.0890, 3.3812)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C19 #66197C
analogous
#617C19 #2F7C19 #197C35
triadic
#2F7C19 #192F7C #7C192F
tetradic
#2F7C19 #19617C #66197C #7C3519
square
#2F7C19 #19617C #66197C #7C3519
split-complementary
#2F7C19 #35197C #7C1961
monochromatic
#0A1905 #1C490F #2F7C19 #42AF23 #5CD738

Accessibility & contrast

On white

5.23
#2F7C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F7C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C19
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C19#FFFFFF#000000##FFFFFF
##2F7C191.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807001
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#257869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7c19;
/* rgb */ color: rgb(47, 124, 25);
/* oklch */ color: oklch(51.8% 0.151 139.9);
Tailwind
colors: {
  custom: {
    50: '#72a35e',
    500: '#2f7c19',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c19;
$custom-light: #72a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c19",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 106.667,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51849,
    "c": 0.15127,
    "h": 139.9
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#2F7C19
secondary
#9840B0
accent
#3EE9C3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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