#2C9123#2C9123

#2C9123 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.7% C 0.172 H 141.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2C9123
RGBrgb(44, 145, 35)
HSLhsl(115, 61%, 35%)
HSVhsv(115, 76%, 57%)
CMYKcmyk(69.7%, 0%, 75.9%, 43.1%)
CIE-LABlab(52.85, -49.69, 46.98)
CIE-LCHlch(52.85, 68.39, 136.61°)
OKLaboklab(57.72% -0.1354 0.106)
OKLCHoklch(57.72% 0.172 141.9)
XYZxyz(11.4668, 20.9064, 5.0208)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C9123 #882391
analogous
#639123 #2C9123 #239151
triadic
#2C9123 #232C91 #91232C
tetradic
#2C9123 #236391 #882391 #915123
square
#2C9123 #236391 #882391 #915123
split-complementary
#2C9123 #512391 #912363
monochromatic
#0E2E0B #1D6017 #2C9123 #3BC22F #62D758

Accessibility & contrast

On white

4.05
#2C9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2C9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C9123
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C9123#FFFFFF#000000##000000
##2C91231.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#148C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c9123;
/* rgb */ color: rgb(44, 145, 35);
/* oklch */ color: oklch(57.7% 0.172 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b266',
    500: '#2c9123',
    950: '#000000',
  },
}
SCSS
$custom: #2c9123;
$custom-light: #74b266;
$custom-dark: #000000;
JSON
{
  "hex": "#2c9123",
  "rgb": {
    "r": 44,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 115.091,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57716,
    "c": 0.17195,
    "h": 141.9
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#2C9123
secondary
#B355BB
accent
#44E4D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C9123

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

Preview Lab → · Contrast checker → · Palette generator →

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