#2F7623#2F7623

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

Color values

HEX#2F7623
RGBrgb(47, 118, 35)
HSLhsl(111, 54%, 30%)
HSVhsv(111, 70%, 46%)
CMYKcmyk(60.2%, 0%, 70.3%, 53.7%)
CIE-LABlab(43.77, -38.94, 37.63)
CIE-LCHlch(43.77, 54.16, 135.98°)
OKLaboklab(50.23% -0.1065 0.0864)
OKLCHoklch(50.23% 0.137 140.9)
XYZxyz(7.9537, 13.6819, 3.8115)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7623 #6A2376
analogous
#597623 #2F7623 #237640
triadic
#2F7623 #232F76 #76232F
tetradic
#2F7623 #235976 #6A2376 #764023
square
#2F7623 #235976 #6A2376 #764023
split-complementary
#2F7623 #402376 #762359
monochromatic
#091807 #1C4715 #2F7623 #42A531 #5CC94A

Accessibility & contrast

On white

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

On black

3.74
#2F7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7623#FFFFFF#000000##FFFFFF
##2F76231.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B18
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#257265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7623;
/* rgb */ color: rgb(47, 118, 35);
/* oklch */ color: oklch(50.2% 0.137 140.9);
Tailwind
colors: {
  custom: {
    50: '#709e62',
    500: '#2f7623',
    950: '#000000',
  },
}
SCSS
$custom: #2f7623;
$custom-light: #709e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7623",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 111.325,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.13714,
    "h": 140.9
  },
  "luminance": 0.13683
}

Semantic roles & 50–950 ramp

primary
#2F7623
secondary
#9B4CA9
accent
#4ADEC8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7623

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

Preview Lab → · Contrast checker → · Palette generator →

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