#2F862D#2F862D

#2F862D is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.150 H 142.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F862D
RGBrgb(47, 134, 45)
HSLhsl(119, 50%, 35%)
HSVhsv(119, 66%, 53%)
CMYKcmyk(64.9%, 0%, 66.4%, 47.5%)
CIE-LABlab(49.31, -44.11, 39.16)
CIE-LCHlch(49.31, 58.98, 138.40°)
OKLaboklab(54.83% -0.1199 0.0908)
OKLCHoklch(54.83% 0.15 142.9)
XYZxyz(10.1705, 17.8430, 5.3902)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F862D #842D86
analogous
#5B862D #2F862D #2D8658
triadic
#2F862D #2D2F86 #862D2F
tetradic
#2F862D #2D5B86 #842D86 #86582D
square
#2F862D #2D5B86 #842D86 #86582D
split-complementary
#2F862D #582D86 #862D5B
monochromatic
#0F2A0E #1F581E #2F862D #3FB43C #65CB63

Accessibility & contrast

On white

4.60
#2F862D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2F862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F862D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F862D#FFFFFF#000000##FFFFFF
##2F862D1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#1E8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f862d;
/* rgb */ color: rgb(47, 134, 45);
/* oklch */ color: oklch(54.8% 0.150 142.9);
Tailwind
colors: {
  custom: {
    50: '#73aa6a',
    500: '#2f862d',
    950: '#000000',
  },
}
SCSS
$custom: #2f862d;
$custom-light: #73aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f862d",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 118.652,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.15043,
    "h": 142.9
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#2F862D
secondary
#AF5EB1
accent
#4FD9D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F862D

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

Preview Lab → · Contrast checker → · Palette generator →

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