#2F7432#2F7432

#2F7432 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.9% C 0.121 H 144.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7432
RGBrgb(47, 116, 50)
HSLhsl(123, 42%, 32%)
HSVhsv(123, 59%, 45%)
CMYKcmyk(59.5%, 0%, 56.9%, 54.5%)
CIE-LABlab(43.25, -36.32, 29.74)
CIE-LCHlch(43.25, 46.95, 140.69°)
OKLaboklab(49.85% -0.0986 0.071)
OKLCHoklch(49.85% 0.121 144.2)
XYZxyz(7.9929, 13.3247, 5.1677)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7432 #742F71
analogous
#4F742F #2F7432 #2F7455
triadic
#2F7432 #322F74 #74322F
tetradic
#2F7432 #2F4F74 #742F71 #74552F
square
#2F7432 #2F4F74 #742F71 #74552F
split-complementary
#2F7432 #552F74 #742F4F
monochromatic
#0C1D0C #1D481F #2F7432 #41A045 #5FBE63

Accessibility & contrast

On white

5.73
#2F7432 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F7432 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7432
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7432#FFFFFF#000000##FFFFFF
##2F74321.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2C
Deuteranopia (green-blind)
#6D6437
Tritanopia (blue-blind)
#237165
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7432;
/* rgb */ color: rgb(47, 116, 50);
/* oklch */ color: oklch(49.9% 0.121 144.2);
Tailwind
colors: {
  custom: {
    50: '#6f9d6c',
    500: '#2f7432',
    950: '#000000',
  },
}
SCSS
$custom: #2f7432;
$custom-light: #6f9d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7432",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 50
  },
  "hsl": {
    "h": 122.609,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.12149,
    "h": 144.2
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#2F7432
secondary
#A55AA2
accent
#56CDD2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7432

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

Preview Lab → · Contrast checker → · Palette generator →

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