#2F7923#2F7923

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

Color values

HEX#2F7923
RGBrgb(47, 121, 35)
HSLhsl(112, 55%, 31%)
HSVhsv(112, 71%, 47%)
CMYKcmyk(61.2%, 0%, 71.1%, 52.5%)
CIE-LABlab(44.80, -40.13, 38.73)
CIE-LCHlch(44.80, 55.77, 136.02°)
OKLaboklab(51.08% -0.1097 0.0887)
OKLCHoklch(51.08% 0.141 141)
XYZxyz(8.3126, 14.3997, 3.9311)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7923 #6D2379
analogous
#5A7923 #2F7923 #237942
triadic
#2F7923 #232F79 #79232F
tetradic
#2F7923 #235A79 #6D2379 #794223
square
#2F7923 #235A79 #6D2379 #794223
split-complementary
#2F7923 #422379 #79235A
monochromatic
#0A1A08 #1D4A15 #2F7923 #41A831 #5DCB4B

Accessibility & contrast

On white

5.41
#2F7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7923
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7923#FFFFFF#000000##FFFFFF
##2F79231.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E17
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#247568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7923;
/* rgb */ color: rgb(47, 121, 35);
/* oklch */ color: oklch(51.1% 0.141 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a063',
    500: '#2f7923',
    950: '#000000',
  },
}
SCSS
$custom: #2f7923;
$custom-light: #71a063;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7923",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 111.628,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.14109,
    "h": 141
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#2F7923
secondary
#9E4CAC
accent
#49DECA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2F7923

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

Preview Lab → · Contrast checker → · Palette generator →

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