#2F7A19#2F7A19

#2F7A19 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.149 H 139.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F7A19
RGBrgb(47, 122, 25)
HSLhsl(106, 66%, 29%)
HSVhsv(106, 80%, 48%)
CMYKcmyk(61.5%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.07, -41.35, 42.95)
CIE-LCHlch(45.07, 59.62, 133.91°)
OKLaboklab(51.28% -0.1136 0.0961)
OKLCHoklch(51.28% 0.149 139.8)
XYZxyz(8.3069, 14.5928, 3.2985)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A19 #64197A
analogous
#607A19 #2F7A19 #197A34
triadic
#2F7A19 #192F7A #7A192F
tetradic
#2F7A19 #19607A #64197A #7A3419
square
#2F7A19 #19607A #64197A #7A3419
split-complementary
#2F7A19 #34197A #7A1960
monochromatic
#0A1905 #1B470F #2F7A19 #43AD23 #5BD637

Accessibility & contrast

On white

5.36
#2F7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A19
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A19#FFFFFF#000000##FFFFFF
##2F7A191.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E02
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#267668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7a19;
/* rgb */ color: rgb(47, 122, 25);
/* oklch */ color: oklch(51.3% 0.149 139.8);
Tailwind
colors: {
  custom: {
    50: '#71a15e',
    500: '#2f7a19',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a19;
$custom-light: #71a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a19",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 106.392,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.14882,
    "h": 139.8
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#2F7A19
secondary
#9640AF
accent
#3FE9C2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2F7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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