#2F7621#2F7621

#2F7621 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.139 H 140.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7621
RGBrgb(47, 118, 33)
HSLhsl(110, 56%, 30%)
HSVhsv(110, 72%, 46%)
CMYKcmyk(60.2%, 0%, 72%, 53.7%)
CIE-LABlab(43.76, -39.14, 38.48)
CIE-LCHlch(43.76, 54.89, 135.48°)
OKLaboklab(50.22% -0.1071 0.0879)
OKLCHoklch(50.22% 0.139 140.6)
XYZxyz(7.9249, 13.6703, 3.6596)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7621 #682176
analogous
#597621 #2F7621 #21763E
triadic
#2F7621 #212F76 #76212F
tetradic
#2F7621 #215976 #682176 #763E21
square
#2F7621 #215976 #682176 #763E21
split-complementary
#2F7621 #3E2176 #762159
monochromatic
#0A1807 #1C4614 #2F7621 #42A62E #5CCB46

Accessibility & contrast

On white

5.62
#2F7621 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2F7621 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7621
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7621#FFFFFF#000000##FFFFFF
##2F76211.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B14
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#267265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7621;
/* rgb */ color: rgb(47, 118, 33);
/* oklch */ color: oklch(50.2% 0.139 140.6);
Tailwind
colors: {
  custom: {
    50: '#709e61',
    500: '#2f7621',
    950: '#000000',
  },
}
SCSS
$custom: #2f7621;
$custom-light: #709e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7621",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 33
  },
  "hsl": {
    "h": 110.118,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.13861,
    "h": 140.6
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#2F7621
secondary
#994AA9
accent
#48E0C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F7621

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

Preview Lab → · Contrast checker → · Palette generator →

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