#2F8631#2F8631

#2F8631 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.147 H 143.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2F8631
RGBrgb(47, 134, 49)
HSLhsl(121, 48%, 35%)
HSVhsv(121, 65%, 53%)
CMYKcmyk(64.9%, 0%, 63.4%, 47.5%)
CIE-LABlab(49.34, -43.65, 37.34)
CIE-LCHlch(49.34, 57.45, 139.45°)
OKLaboklab(54.88% -0.1185 0.0874)
OKLCHoklch(54.88% 0.147 143.6)
XYZxyz(10.2512, 17.8753, 5.8152)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8631 #862F84
analogous
#58862F #2F8631 #2F865C
triadic
#2F8631 #312F86 #86312F
tetradic
#2F8631 #2F5886 #862F84 #865C2F
square
#2F8631 #2F5886 #862F84 #865C2F
split-complementary
#2F8631 #5C2F86 #862F58
monochromatic
#0F2B10 #1F5920 #2F8631 #3FB342 #66C968

Accessibility & contrast

On white

4.59
#2F8631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2F8631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8631
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8631#FFFFFF#000000##FFFFFF
##2F86311.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#1C8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8631;
/* rgb */ color: rgb(47, 134, 49);
/* oklch */ color: oklch(54.9% 0.147 143.6);
Tailwind
colors: {
  custom: {
    50: '#73aa6c',
    500: '#2f8631',
    950: '#000000',
  },
}
SCSS
$custom: #2f8631;
$custom-light: #73aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8631",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 49
  },
  "hsl": {
    "h": 121.379,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.14721,
    "h": 143.6
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#2F8631
secondary
#B060AE
accent
#50D5D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8631

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

Preview Lab → · Contrast checker → · Palette generator →

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