#2F6D19#2F6D19

#2F6D19 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.132 H 138.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2F6D19
RGBrgb(47, 109, 25)
HSLhsl(104, 63%, 26%)
HSVhsv(104, 77%, 43%)
CMYKcmyk(56.9%, 0%, 77.1%, 57.3%)
CIE-LABlab(40.59, -36.20, 38.53)
CIE-LCHlch(40.59, 52.86, 133.21°)
OKLaboklab(47.59% -0.0997 0.0869)
OKLCHoklch(47.59% 0.132 138.9)
XYZxyz(6.8161, 11.6113, 2.8015)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6D19 #57196D
analogous
#596D19 #2F6D19 #196D2D
triadic
#2F6D19 #192F6D #6D192F
tetradic
#2F6D19 #19596D #57196D #6D2D19
square
#2F6D19 #19596D #57196D #6D2D19
split-complementary
#2F6D19 #2D196D #6D1959
monochromatic
#0B1906 #1A3B0E #2F6D19 #449F24 #5AD031

Accessibility & contrast

On white

6.32
#2F6D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2F6D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6D19
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6D19#FFFFFF#000000##FFFFFF
##2F6D191.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706309
Deuteranopia (green-blind)
#685E22
Tritanopia (blue-blind)
#29695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6d19;
/* rgb */ color: rgb(47, 109, 25);
/* oklch */ color: oklch(47.6% 0.132 138.9);
Tailwind
colors: {
  custom: {
    50: '#6f975c',
    500: '#2f6d19',
    950: '#000000',
  },
}
SCSS
$custom: #2f6d19;
$custom-light: #6f975c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6d19",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 104.286,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.13227,
    "h": 138.9
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#2F6D19
secondary
#883FA2
accent
#42E6BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6D19

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

Preview Lab → · Contrast checker → · Palette generator →

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