#2F6E1B#2F6E1B

#2F6E1B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.132 H 139.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2F6E1B
RGBrgb(47, 110, 27)
HSLhsl(106, 61%, 27%)
HSVhsv(106, 75%, 43%)
CMYKcmyk(57.3%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.95, -36.44, 38.09)
CIE-LCHlch(40.95, 52.72, 133.73°)
OKLaboklab(47.89% -0.1003 0.0863)
OKLCHoklch(47.89% 0.132 139.3)
XYZxyz(6.9458, 11.8348, 2.9550)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6E1B #5A1B6E
analogous
#596E1B #2F6E1B #1B6E31
triadic
#2F6E1B #1B2F6E #6E1B2F
tetradic
#2F6E1B #1B596E #5A1B6E #6E311B
square
#2F6E1B #1B596E #5A1B6E #6E311B
split-complementary
#2F6E1B #311B6E #6E1B59
monochromatic
#0A1906 #1A3D0F #2F6E1B #449F27 #5ACE36

Accessibility & contrast

On white

6.24
#2F6E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2F6E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6E1B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6E1B#FFFFFF#000000##FFFFFF
##2F6E1B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#695F23
Tritanopia (blue-blind)
#296A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6e1b;
/* rgb */ color: rgb(47, 110, 27);
/* oklch */ color: oklch(47.9% 0.132 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f985d',
    500: '#2f6e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2f6e1b;
$custom-light: #6f985d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6e1b",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 105.542,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.13227,
    "h": 139.3
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#2F6E1B
secondary
#8C42A3
accent
#44E4BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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