#2C7923#2C7923

#2C7923 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.142 H 141.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2C7923
RGBrgb(44, 121, 35)
HSLhsl(114, 55%, 31%)
HSVhsv(114, 71%, 47%)
CMYKcmyk(63.6%, 0%, 71.1%, 52.5%)
CIE-LABlab(44.70, -40.91, 38.59)
CIE-LCHlch(44.70, 56.24, 136.67°)
OKLaboklab(50.98% -0.1116 0.0885)
OKLCHoklch(50.98% 0.142 141.6)
XYZxyz(8.1790, 14.3308, 3.9249)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7923 #702379
analogous
#577923 #2C7923 #237945
triadic
#2C7923 #232C79 #79232C
tetradic
#2C7923 #235779 #702379 #794523
square
#2C7923 #235779 #702379 #794523
split-complementary
#2C7923 #452379 #792357
monochromatic
#091A08 #1B4A15 #2C7923 #3DA831 #59CB4B

Accessibility & contrast

On white

5.43
#2C7923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2C7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7923
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7923#FFFFFF#000000##FFFFFF
##2C79231.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E17
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#1F7568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7923;
/* rgb */ color: rgb(44, 121, 35);
/* oklch */ color: oklch(51.0% 0.142 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa063',
    500: '#2c7923',
    950: '#000000',
  },
}
SCSS
$custom: #2c7923;
$custom-light: #6fa063;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7923",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 113.721,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50975,
    "c": 0.14242,
    "h": 141.6
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#2C7923
secondary
#A24CAC
accent
#49DECF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2C7923

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

Preview Lab → · Contrast checker → · Palette generator →

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