#2F7920#2F7920

#2F7920 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.143 H 140.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F7920
RGBrgb(47, 121, 32)
HSLhsl(110, 58%, 30%)
HSVhsv(110, 74%, 47%)
CMYKcmyk(61.2%, 0%, 73.6%, 52.5%)
CIE-LABlab(44.78, -40.41, 39.97)
CIE-LCHlch(44.78, 56.84, 135.31°)
OKLaboklab(51.05% -0.1106 0.0909)
OKLCHoklch(51.05% 0.143 140.6)
XYZxyz(8.2700, 14.3826, 3.7065)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7920 #6A2079
analogous
#5B7920 #2F7920 #20793E
triadic
#2F7920 #202F79 #79202F
tetradic
#2F7920 #205B79 #6A2079 #793E20
square
#2F7920 #205B79 #6A2079 #793E20
split-complementary
#2F7920 #3E2079 #79205B
monochromatic
#091806 #1C4913 #2F7920 #42A92D #5CCE45

Accessibility & contrast

On white

5.42
#2F7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2F7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7920
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7920#FFFFFF#000000##FFFFFF
##2F79201.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E12
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#257567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7920;
/* rgb */ color: rgb(47, 121, 32);
/* oklch */ color: oklch(51.1% 0.143 140.6);
Tailwind
colors: {
  custom: {
    50: '#71a061',
    500: '#2f7920',
    950: '#000000',
  },
}
SCSS
$custom: #2f7920;
$custom-light: #71a061;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7920",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 109.888,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.1432,
    "h": 140.6
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#2F7920
secondary
#9B49AC
accent
#46E1C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2F7920

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

Preview Lab → · Contrast checker → · Palette generator →

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