#2F6A1B#2F6A1B

#2F6A1B is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.127 H 139.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2F6A1B
RGBrgb(47, 106, 27)
HSLhsl(105, 59%, 26%)
HSVhsv(105, 75%, 42%)
CMYKcmyk(55.7%, 0%, 74.5%, 58.4%)
CIE-LABlab(39.57, -34.79, 36.67)
CIE-LCHlch(39.57, 50.54, 133.49°)
OKLaboklab(46.74% -0.0958 0.0833)
OKLCHoklch(46.74% 0.127 139)
XYZxyz(6.5239, 10.9910, 2.8144)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A1B #561B6A
analogous
#566A1B #2F6A1B #1B6A2E
triadic
#2F6A1B #1B2F6A #6A1B2F
tetradic
#2F6A1B #1B566A #561B6A #6A2E1B
square
#2F6A1B #1B566A #561B6A #6A2E1B
split-complementary
#2F6A1B #2E1B6A #6A1B56
monochromatic
#0B1806 #19390F #2F6A1B #459B27 #5ACB34

Accessibility & contrast

On white

6.57
#2F6A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F6A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A1B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A1B#FFFFFF#000000##FFFFFF
##2F6A1B1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600E
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#2A665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6a1b;
/* rgb */ color: rgb(47, 106, 27);
/* oklch */ color: oklch(46.7% 0.127 139.0);
Tailwind
colors: {
  custom: {
    50: '#6e955d',
    500: '#2f6a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a1b;
$custom-light: #6e955d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a1b",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 104.81,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.12693,
    "h": 139
  },
  "luminance": 0.10992
}

Semantic roles & 50–950 ramp

primary
#2F6A1B
secondary
#87429F
accent
#45E3BB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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