#2C7F23#2C7F23

#2C7F23 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.150 H 141.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2C7F23
RGBrgb(44, 127, 35)
HSLhsl(114, 57%, 32%)
HSVhsv(114, 72%, 50%)
CMYKcmyk(65.4%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.76, -43.19, 40.76)
CIE-LCHlch(46.76, 59.39, 136.66°)
OKLaboklab(52.67% -0.1178 0.093)
OKLCHoklch(52.67% 0.15 141.7)
XYZxyz(8.9310, 15.8347, 4.1755)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F23 #76237F
analogous
#5A7F23 #2C7F23 #237F48
triadic
#2C7F23 #232C7F #7F232C
tetradic
#2C7F23 #235A7F #76237F #7F4823
square
#2C7F23 #235A7F #76237F #7F4823
split-complementary
#2C7F23 #48237F #7F235A
monochromatic
#0B1F09 #1B4F16 #2C7F23 #3DAF30 #5BCE4E

Accessibility & contrast

On white

5.04
#2C7F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2C7F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F23
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F23#FFFFFF#000000##FFFFFF
##2C7F231.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#1D7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f23;
/* rgb */ color: rgb(44, 127, 35);
/* oklch */ color: oklch(52.7% 0.150 141.7);
Tailwind
colors: {
  custom: {
    50: '#71a563',
    500: '#2c7f23',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f23;
$custom-light: #71a563;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f23",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 114.13,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.15009,
    "h": 141.7
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#2C7F23
secondary
#A74CB1
accent
#48E0D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7F23

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

Preview Lab → · Contrast checker → · Palette generator →

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