#2F7431#2F7431

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

Color values

HEX#2F7431
RGBrgb(47, 116, 49)
HSLhsl(122, 42%, 32%)
HSVhsv(122, 59%, 45%)
CMYKcmyk(59.5%, 0%, 57.8%, 54.5%)
CIE-LABlab(43.24, -36.46, 30.25)
CIE-LCHlch(43.24, 47.38, 140.32°)
OKLaboklab(49.84% -0.099 0.0721)
OKLCHoklch(49.84% 0.122 144)
XYZxyz(7.9716, 13.3162, 5.0553)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7431 #742F72
analogous
#50742F #2F7431 #2F7454
triadic
#2F7431 #312F74 #74312F
tetradic
#2F7431 #2F5074 #742F72 #74542F
square
#2F7431 #2F5074 #742F72 #74542F
split-complementary
#2F7431 #542F74 #742F50
monochromatic
#0C1D0C #1D481F #2F7431 #41A043 #5FBE62

Accessibility & contrast

On white

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

On black

3.66
#2F7431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7431#FFFFFF#000000##FFFFFF
##2F74311.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7431;
/* rgb */ color: rgb(47, 116, 49);
/* oklch */ color: oklch(49.8% 0.122 144.0);
Tailwind
colors: {
  custom: {
    50: '#6f9d6b',
    500: '#2f7431',
    950: '#000000',
  },
}
SCSS
$custom: #2f7431;
$custom-light: #6f9d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7431",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 49
  },
  "hsl": {
    "h": 121.739,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.12244,
    "h": 144
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#2F7431
secondary
#A55AA3
accent
#56CFD2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7431

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

Preview Lab → · Contrast checker → · Palette generator →

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