#2F8520#2F8520

#2F8520 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.158 H 141.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8520
RGBrgb(47, 133, 32)
HSLhsl(111, 61%, 32%)
HSVhsv(111, 76%, 52%)
CMYKcmyk(64.7%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.86, -44.96, 44.13)
CIE-LCHlch(48.86, 63.00, 135.53°)
OKLaboklab(54.43% -0.123 0.0996)
OKLCHoklch(54.43% 0.158 141)
XYZxyz(9.8200, 17.4827, 4.2232)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8520 #762085
analogous
#628520 #2F8520 #208543
triadic
#2F8520 #202F85 #85202F
tetradic
#2F8520 #206285 #762085 #854320
square
#2F8520 #206285 #762085 #854320
split-complementary
#2F8520 #432085 #852062
monochromatic
#0C2208 #1E5414 #2F8520 #40B62C #60D44C

Accessibility & contrast

On white

4.67
#2F8520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2F8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8520
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8520#FFFFFF#000000##FFFFFF
##2F85201.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89780C
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#218171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8520;
/* rgb */ color: rgb(47, 133, 32);
/* oklch */ color: oklch(54.4% 0.158 141.0);
Tailwind
colors: {
  custom: {
    50: '#73a963',
    500: '#2f8520',
    950: '#000000',
  },
}
SCSS
$custom: #2f8520;
$custom-light: #73a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8520",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 111.089,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54432,
    "c": 0.15824,
    "h": 141
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

primary
#2F8520
secondary
#A74AB7
accent
#43E4CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F8520

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

Preview Lab → · Contrast checker → · Palette generator →

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