#2F7B19#2F7B19

#2F7B19 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.150 H 139.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F7B19
RGBrgb(47, 123, 25)
HSLhsl(107, 66%, 29%)
HSVhsv(107, 80%, 48%)
CMYKcmyk(61.8%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.41, -41.73, 43.28)
CIE-LCHlch(45.41, 60.12, 133.96°)
OKLaboklab(51.57% -0.1146 0.0968)
OKLCHoklch(51.57% 0.15 139.8)
XYZxyz(8.4303, 14.8397, 3.3396)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B19 #65197B
analogous
#607B19 #2F7B19 #197B34
triadic
#2F7B19 #192F7B #7B192F
tetradic
#2F7B19 #19607B #65197B #7B3419
square
#2F7B19 #19607B #65197B #7B3419
split-complementary
#2F7B19 #34197B #7B1960
monochromatic
#0A1905 #1C480F #2F7B19 #42AE23 #5BD738

Accessibility & contrast

On white

5.29
#2F7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B19
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B19#FFFFFF#000000##FFFFFF
##2F7B191.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#257769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7b19;
/* rgb */ color: rgb(47, 123, 25);
/* oklch */ color: oklch(51.6% 0.150 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a25e',
    500: '#2f7b19',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b19;
$custom-light: #72a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b19",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 106.531,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.15005,
    "h": 139.8
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#2F7B19
secondary
#9740AF
accent
#3FE9C3
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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