#2F9020#2F9020

#2F9020 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.171 H 141.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F9020
RGBrgb(47, 144, 32)
HSLhsl(112, 64%, 35%)
HSVhsv(112, 78%, 56%)
CMYKcmyk(67.4%, 0%, 77.8%, 43.5%)
CIE-LABlab(52.57, -48.93, 47.81)
CIE-LCHlch(52.57, 68.41, 135.67°)
OKLaboklab(57.5% -0.1337 0.1073)
OKLCHoklch(57.5% 0.171 141.3)
XYZxyz(11.4057, 20.6540, 4.7518)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9020 #812090
analogous
#679020 #2F9020 #209049
triadic
#2F9020 #202F90 #90202F
tetradic
#2F9020 #206790 #812090 #904920
square
#2F9020 #206790 #812090 #904920
split-complementary
#2F9020 #492090 #902067
monochromatic
#0E2C0A #1F5E15 #2F9020 #3FC22B #64D952

Accessibility & contrast

On white

4.09
#2F9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2F9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9020
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9020#FFFFFF#000000##000000
##2F90201.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948205
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#1C8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f9020;
/* rgb */ color: rgb(47, 144, 32);
/* oklch */ color: oklch(57.5% 0.171 141.3);
Tailwind
colors: {
  custom: {
    50: '#76b164',
    500: '#2f9020',
    950: '#000000',
  },
}
SCSS
$custom: #2f9020;
$custom-light: #76b164;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9020",
  "rgb": {
    "r": 47,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 111.964,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.1714,
    "h": 141.3
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#2F9020
secondary
#AD50BC
accent
#41E7D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F9020

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

Preview Lab → · Contrast checker → · Palette generator →

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