#2F862B#2F862B

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

Color values

HEX#2F862B
RGBrgb(47, 134, 43)
HSLhsl(117, 51%, 35%)
HSVhsv(117, 68%, 53%)
CMYKcmyk(64.9%, 0%, 67.9%, 47.5%)
CIE-LABlab(49.29, -44.33, 40.04)
CIE-LCHlch(49.29, 59.73, 137.91°)
OKLaboklab(54.81% -0.1206 0.0925)
OKLCHoklch(54.81% 0.152 142.5)
XYZxyz(10.1329, 17.8280, 5.1922)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F862B #822B86
analogous
#5C862B #2F862B #2B8655
triadic
#2F862B #2B2F86 #862B2F
tetradic
#2F862B #2B5C86 #822B86 #86552B
square
#2F862B #2B5C86 #822B86 #86552B
split-complementary
#2F862B #552B86 #862B5C
monochromatic
#0E290D #1F581C #2F862B #3FB43A #64CC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F862B#FFFFFF#000000##FFFFFF
##2F862B1.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)
#897A1F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#1E8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f862b;
/* rgb */ color: rgb(47, 134, 43);
/* oklch */ color: oklch(54.8% 0.152 142.5);
Tailwind
colors: {
  custom: {
    50: '#73aa69',
    500: '#2f862b',
    950: '#000000',
  },
}
SCSS
$custom: #2f862b;
$custom-light: #73aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f862b",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 117.363,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.15196,
    "h": 142.5
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#2F862B
secondary
#AE5BB2
accent
#4DDBD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F862B

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

Preview Lab → · Contrast checker → · Palette generator →

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