#2F7921#2F7921

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

Color values

HEX#2F7921
RGBrgb(47, 121, 33)
HSLhsl(110, 57%, 30%)
HSVhsv(110, 73%, 47%)
CMYKcmyk(61.2%, 0%, 72.7%, 52.5%)
CIE-LABlab(44.78, -40.32, 39.56)
CIE-LCHlch(44.78, 56.49, 135.54°)
OKLaboklab(51.06% -0.1103 0.0902)
OKLCHoklch(51.06% 0.143 140.7)
XYZxyz(8.2838, 14.3881, 3.7792)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7921 #6B2179
analogous
#5B7921 #2F7921 #21793F
triadic
#2F7921 #212F79 #79212F
tetradic
#2F7921 #215B79 #6B2179 #793F21
square
#2F7921 #215B79 #6B2179 #793F21
split-complementary
#2F7921 #3F2179 #79215B
monochromatic
#0A1907 #1C4914 #2F7921 #42A92E #5DCD47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7921#FFFFFF#000000##FFFFFF
##2F79211.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)
#7C6E13
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#257567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7921;
/* rgb */ color: rgb(47, 121, 33);
/* oklch */ color: oklch(51.1% 0.143 140.7);
Tailwind
colors: {
  custom: {
    50: '#71a062',
    500: '#2f7921',
    950: '#000000',
  },
}
SCSS
$custom: #2f7921;
$custom-light: #71a062;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7921",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 33
  },
  "hsl": {
    "h": 110.455,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.14252,
    "h": 140.7
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#2F7921
secondary
#9C4AAC
accent
#47E0C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2F7921

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

Preview Lab → · Contrast checker → · Palette generator →

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