#2F8532#2F8532

#2F8532 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.145 H 143.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F8532
RGBrgb(47, 133, 50)
HSLhsl(122, 48%, 35%)
HSVhsv(122, 65%, 52%)
CMYKcmyk(64.7%, 0%, 62.4%, 47.8%)
CIE-LABlab(49.02, -43.15, 36.50)
CIE-LCHlch(49.02, 56.52, 139.78°)
OKLaboklab(54.61% -0.117 0.0857)
OKLCHoklch(54.61% 0.145 143.8)
XYZxyz(10.1349, 17.6087, 5.8817)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8532 #852F82
analogous
#57852F #2F8532 #2F855D
triadic
#2F8532 #322F85 #85322F
tetradic
#2F8532 #2F5785 #852F82 #855D2F
square
#2F8532 #2F5785 #852F82 #855D2F
split-complementary
#2F8532 #5D2F85 #852F57
monochromatic
#0F2B10 #1F5821 #2F8532 #3FB243 #66C969

Accessibility & contrast

On white

4.64
#2F8532 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2F8532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8532
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8532#FFFFFF#000000##FFFFFF
##2F85321.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887929
Deuteranopia (green-blind)
#7D7239
Tritanopia (blue-blind)
#1D8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8532;
/* rgb */ color: rgb(47, 133, 50);
/* oklch */ color: oklch(54.6% 0.145 143.8);
Tailwind
colors: {
  custom: {
    50: '#72a96d',
    500: '#2f8532',
    950: '#000000',
  },
}
SCSS
$custom: #2f8532;
$custom-light: #72a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8532",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 122.093,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.14505,
    "h": 143.8
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#2F8532
secondary
#B060AD
accent
#50D3D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8532

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

Preview Lab → · Contrast checker → · Palette generator →

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