#2F6F1A#2F6F1A

#2F6F1A is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.2% C 0.134 H 139.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2F6F1A
RGBrgb(47, 111, 26)
HSLhsl(105, 62%, 27%)
HSVhsv(105, 77%, 44%)
CMYKcmyk(57.7%, 0%, 76.6%, 56.5%)
CIE-LABlab(41.29, -36.93, 38.84)
CIE-LCHlch(41.29, 53.59, 133.56°)
OKLaboklab(48.16% -0.1017 0.0877)
OKLCHoklch(48.16% 0.134 139.2)
XYZxyz(7.0429, 12.0472, 2.9313)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F1A #5A1A6F
analogous
#5A6F1A #2F6F1A #1A6F2F
triadic
#2F6F1A #1A2F6F #6F1A2F
tetradic
#2F6F1A #1A5A6F #5A1A6F #6F2F1A
square
#2F6F1A #1A5A6F #5A1A6F #6F2F1A
split-complementary
#2F6F1A #2F1A6F #6F1A5A
monochromatic
#0A1906 #1A3D0E #2F6F1A #44A126 #5ACF34

Accessibility & contrast

On white

6.16
#2F6F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2F6F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6F1A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6F1A#FFFFFF#000000##FFFFFF
##2F6F1A1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650A
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#286B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6f1a;
/* rgb */ color: rgb(47, 111, 26);
/* oklch */ color: oklch(48.2% 0.134 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f995d',
    500: '#2f6f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f1a;
$custom-light: #6f995d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f1a",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 105.176,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48164,
    "c": 0.13424,
    "h": 139.2
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#2F6F1A
secondary
#8C41A4
accent
#43E5BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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