#2F7723#2F7723

#2F7723 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.138 H 141.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2F7723
RGBrgb(47, 119, 35)
HSLhsl(111, 55%, 30%)
HSVhsv(111, 71%, 47%)
CMYKcmyk(60.5%, 0%, 70.6%, 53.3%)
CIE-LABlab(44.12, -39.34, 38.00)
CIE-LCHlch(44.12, 54.70, 136.00°)
OKLaboklab(50.52% -0.1076 0.0872)
OKLCHoklch(50.52% 0.138 141)
XYZxyz(8.0721, 13.9186, 3.8510)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7723 #6B2377
analogous
#597723 #2F7723 #237741
triadic
#2F7723 #232F77 #77232F
tetradic
#2F7723 #235977 #6B2377 #774123
square
#2F7723 #235977 #6B2377 #774123
split-complementary
#2F7723 #412377 #772359
monochromatic
#0A1807 #1C4815 #2F7723 #42A631 #5DCA4A

Accessibility & contrast

On white

5.55
#2F7723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2F7723 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7723
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7723#FFFFFF#000000##FFFFFF
##2F77231.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C17
Deuteranopia (green-blind)
#71662B
Tritanopia (blue-blind)
#257366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7723;
/* rgb */ color: rgb(47, 119, 35);
/* oklch */ color: oklch(50.5% 0.138 141.0);
Tailwind
colors: {
  custom: {
    50: '#709f63',
    500: '#2f7723',
    950: '#000000',
  },
}
SCSS
$custom: #2f7723;
$custom-light: #709f63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7723",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 35
  },
  "hsl": {
    "h": 111.429,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50517,
    "c": 0.13846,
    "h": 141
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#2F7723
secondary
#9C4CAA
accent
#4ADEC9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7723

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

Preview Lab → · Contrast checker → · Palette generator →

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