#2F7B2E#2F7B2E

#2F7B2E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.135 H 143.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F7B2E
RGBrgb(47, 123, 46)
HSLhsl(119, 46%, 33%)
HSVhsv(119, 63%, 48%)
CMYKcmyk(61.8%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.59, -39.72, 34.51)
CIE-LCHlch(45.59, 52.62, 139.01°)
OKLaboklab(51.77% -0.108 0.081)
OKLCHoklch(51.77% 0.135 143.1)
XYZxyz(8.7479, 14.9667, 5.0121)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B2E #7A2E7B
analogous
#557B2E #2F7B2E #2E7B53
triadic
#2F7B2E #2E2F7B #7B2E2F
tetradic
#2F7B2E #2E557B #7A2E7B #7B532E
square
#2F7B2E #2E557B #7A2E7B #7B532E
split-complementary
#2F7B2E #532E7B #7B2E55
monochromatic
#0D220D #1E4E1D #2F7B2E #40A83F #61C360

Accessibility & contrast

On white

5.26
#2F7B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F7B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B2E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B2E#FFFFFF#000000##FFFFFF
##2F7B2E1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#22786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7b2e;
/* rgb */ color: rgb(47, 123, 46);
/* oklch */ color: oklch(51.8% 0.135 143.1);
Tailwind
colors: {
  custom: {
    50: '#71a26a',
    500: '#2f7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b2e;
$custom-light: #71a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b2e",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 119.221,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.13498,
    "h": 143.1
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#2F7B2E
secondary
#A95BAA
accent
#53D5D4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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