#2F7B29#2F7B29

#2F7B29 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.139 H 142.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2F7B29
RGBrgb(47, 123, 41)
HSLhsl(116, 50%, 32%)
HSVhsv(116, 67%, 48%)
CMYKcmyk(61.8%, 0%, 66.7%, 51.8%)
CIE-LABlab(45.54, -40.30, 36.83)
CIE-LCHlch(45.54, 54.60, 137.57°)
OKLaboklab(51.71% -0.1098 0.0854)
OKLCHoklch(51.71% 0.139 142.1)
XYZxyz(8.6550, 14.9296, 4.5230)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B29 #75297B
analogous
#587B29 #2F7B29 #297B4C
triadic
#2F7B29 #292F7B #7B292F
tetradic
#2F7B29 #29587B #75297B #7B4C29
square
#2F7B29 #29587B #75297B #7B4C29
split-complementary
#2F7B29 #4C297B #7B2958
monochromatic
#0C1F0A #1D4D1A #2F7B29 #41A938 #5FC757

Accessibility & contrast

On white

5.27
#2F7B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7B29
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B29#FFFFFF#000000##FFFFFF
##2F7B291.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#23776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7b29;
/* rgb */ color: rgb(47, 123, 41);
/* oklch */ color: oklch(51.7% 0.139 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a267',
    500: '#2f7b29',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b29;
$custom-light: #71a267;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b29",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 115.61,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51708,
    "c": 0.13914,
    "h": 142.1
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#2F7B29
secondary
#A653AC
accent
#4EDACF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F7B29

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

Preview Lab → · Contrast checker → · Palette generator →

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