#2F7020#2F7020

#2F7020 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.131 H 140.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2F7020
RGBrgb(47, 112, 32)
HSLhsl(109, 56%, 28%)
HSVhsv(109, 71%, 44%)
CMYKcmyk(58%, 0%, 71.4%, 56.1%)
CIE-LABlab(41.68, -36.81, 36.73)
CIE-LCHlch(41.68, 52.00, 135.06°)
OKLaboklab(48.5% -0.1009 0.0841)
OKLCHoklch(48.5% 0.131 140.2)
XYZxyz(7.2269, 12.2964, 3.3588)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7020 #612070
analogous
#577020 #2F7020 #207039
triadic
#2F7020 #202F70 #70202F
tetradic
#2F7020 #205770 #612070 #703920
square
#2F7020 #205770 #612070 #703920
split-complementary
#2F7020 #392070 #702057
monochromatic
#0A1807 #1B4012 #2F7020 #43A02E #5BC942

Accessibility & contrast

On white

6.07
#2F7020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2F7020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7020
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7020#FFFFFF#000000##FFFFFF
##2F70201.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#276C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7020;
/* rgb */ color: rgb(47, 112, 32);
/* oklch */ color: oklch(48.5% 0.131 140.2);
Tailwind
colors: {
  custom: {
    50: '#6f9a60',
    500: '#2f7020',
    950: '#000000',
  },
}
SCSS
$custom: #2f7020;
$custom-light: #6f9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7020",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 108.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.13138,
    "h": 140.2
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#2F7020
secondary
#9348A4
accent
#49DFC3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7020

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

Preview Lab → · Contrast checker → · Palette generator →

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