#2F831A#2F831A

#2F831A is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.159 H 140.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F831A
RGBrgb(47, 131, 26)
HSLhsl(108, 67%, 31%)
HSVhsv(108, 80%, 51%)
CMYKcmyk(64.1%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.15, -44.66, 45.57)
CIE-LCHlch(48.15, 63.81, 134.42°)
OKLaboklab(53.83% -0.1225 0.1017)
OKLCHoklch(53.83% 0.159 140.3)
XYZxyz(9.4746, 16.9106, 3.7419)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F831A #6E1A83
analogous
#63831A #2F831A #1A8339
triadic
#2F831A #1A2F83 #831A2F
tetradic
#2F831A #1A6383 #6E1A83 #83391A
square
#2F831A #1A6383 #6E1A83 #83391A
split-complementary
#2F831A #391A83 #831A63
monochromatic
#0A1D06 #1D5010 #2F831A #41B624 #5DD93F

Accessibility & contrast

On white

4.79
#2F831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F831A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F831A#FFFFFF#000000##FFFFFF
##2F831A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#237F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f831a;
/* rgb */ color: rgb(47, 131, 26);
/* oklch */ color: oklch(53.8% 0.159 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a860',
    500: '#2f831a',
    950: '#000000',
  },
}
SCSS
$custom: #2f831a;
$custom-light: #73a860;
$custom-dark: #000000;
JSON
{
  "hex": "#2f831a",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 108,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.15923,
    "h": 140.3
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#2F831A
secondary
#9F42B7
accent
#3EEAC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F831A

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

Preview Lab → · Contrast checker → · Palette generator →

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