#2C7231#2C7231

#2C7231 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.121 H 144.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2C7231
RGBrgb(44, 114, 49)
HSLhsl(124, 44%, 31%)
HSVhsv(124, 61%, 45%)
CMYKcmyk(61.4%, 0%, 57%, 55.3%)
CIE-LABlab(42.45, -36.42, 29.28)
CIE-LCHlch(42.45, 46.73, 141.21°)
OKLaboklab(49.16% -0.0987 0.0699)
OKLCHoklch(49.16% 0.121 144.7)
XYZxyz(7.6099, 12.7912, 4.9730)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7231 #722C6D
analogous
#4A722C #2C7231 #2C7254
triadic
#2C7231 #312C72 #72312C
tetradic
#2C7231 #2C4A72 #722C6D #72542C
square
#2C7231 #2C4A72 #722C6D #72542C
split-complementary
#2C7231 #542C72 #722C4A
monochromatic
#0A1A0B #1B461E #2C7231 #3D9E44 #59BF61

Accessibility & contrast

On white

5.90
#2C7231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2C7231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7231
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7231#FFFFFF#000000##FFFFFF
##2C72311.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#1E6F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7231;
/* rgb */ color: rgb(44, 114, 49);
/* oklch */ color: oklch(49.2% 0.121 144.7);
Tailwind
colors: {
  custom: {
    50: '#6d9b6b',
    500: '#2c7231',
    950: '#000000',
  },
}
SCSS
$custom: #2c7231;
$custom-light: #6d9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7231",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 124.286,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.12101,
    "h": 144.7
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#2C7231
secondary
#A4569E
accent
#54CBD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2C7231

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

Preview Lab → · Contrast checker → · Palette generator →

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