#2F721B#2F721B

#2F721B is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.137 H 139.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2F721B
RGBrgb(47, 114, 27)
HSLhsl(106, 62%, 28%)
HSVhsv(106, 76%, 45%)
CMYKcmyk(58.8%, 0%, 76.3%, 55.3%)
CIE-LABlab(42.33, -38.06, 39.49)
CIE-LCHlch(42.33, 54.85, 133.94°)
OKLaboklab(49.03% -0.1046 0.0892)
OKLCHoklch(49.03% 0.137 139.6)
XYZxyz(7.3871, 12.7175, 3.1021)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F721B #5E1B72
analogous
#5A721B #2F721B #1B7233
triadic
#2F721B #1B2F72 #721B2F
tetradic
#2F721B #1B5A72 #5E1B72 #72331B
square
#2F721B #1B5A72 #5E1B72 #72331B
split-complementary
#2F721B #331B72 #721B5A
monochromatic
#0A1906 #1B410F #2F721B #43A327 #5BD038

Accessibility & contrast

On white

5.93
#2F721B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2F721B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F721B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F721B#FFFFFF#000000##FFFFFF
##2F721B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#286E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f721b;
/* rgb */ color: rgb(47, 114, 27);
/* oklch */ color: oklch(49.0% 0.137 139.6);
Tailwind
colors: {
  custom: {
    50: '#709b5e',
    500: '#2f721b',
    950: '#000000',
  },
}
SCSS
$custom: #2f721b;
$custom-light: #709b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f721b",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 106.207,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49027,
    "c": 0.13749,
    "h": 139.6
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#2F721B
secondary
#9042A7
accent
#43E5C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F721B

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

Preview Lab → · Contrast checker → · Palette generator →

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