#2F8D20#2F8D20

#2F8D20 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.168 H 141.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8D20
RGBrgb(47, 141, 32)
HSLhsl(112, 63%, 34%)
HSVhsv(112, 77%, 55%)
CMYKcmyk(66.7%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.56, -47.87, 46.82)
CIE-LCHlch(51.56, 66.96, 135.64°)
OKLaboklab(56.67% -0.1308 0.1052)
OKLCHoklch(56.67% 0.168 141.2)
XYZxyz(10.9573, 19.7573, 4.6023)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D20 #7E208D
analogous
#668D20 #2F8D20 #208D48
triadic
#2F8D20 #202F8D #8D202F
tetradic
#2F8D20 #20668D #7E208D #8D4820
square
#2F8D20 #20668D #7E208D #8D4820
split-complementary
#2F8D20 #48208D #8D2066
monochromatic
#0E2909 #1E5B15 #2F8D20 #40BF2B #63D750

Accessibility & contrast

On white

4.24
#2F8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D20
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D20#FFFFFF#000000##000000
##2F8D201.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d20;
/* rgb */ color: rgb(47, 141, 32);
/* oklch */ color: oklch(56.7% 0.168 141.2);
Tailwind
colors: {
  custom: {
    50: '#75af64',
    500: '#2f8d20',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d20;
$custom-light: #75af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d20",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 111.743,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56667,
    "c": 0.16786,
    "h": 141.2
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#2F8D20
secondary
#AC4EBA
accent
#42E6CF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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