#2C8229#2C8229

#2C8229 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.150 H 142.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2C8229
RGBrgb(44, 130, 41)
HSLhsl(118, 52%, 34%)
HSVhsv(118, 68%, 51%)
CMYKcmyk(66.2%, 0%, 68.5%, 49%)
CIE-LABlab(47.83, -43.73, 39.32)
CIE-LCHlch(47.83, 58.80, 138.04°)
OKLaboklab(53.58% -0.1189 0.0907)
OKLCHoklch(53.58% 0.15 142.7)
XYZxyz(9.4210, 16.6599, 4.8166)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8229 #7F2982
analogous
#588229 #2C8229 #298252
triadic
#2C8229 #292C82 #82292C
tetradic
#2C8229 #295882 #7F2982 #825229
square
#2C8229 #295882 #7F2982 #825229
split-complementary
#2C8229 #522982 #822958
monochromatic
#0D250C #1C531A #2C8229 #3CB138 #5ECB5A

Accessibility & contrast

On white

4.85
#2C8229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2C8229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8229
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8229#FFFFFF#000000##FFFFFF
##2C82291.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7A6F31
Tritanopia (blue-blind)
#1A7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8229;
/* rgb */ color: rgb(44, 130, 41);
/* oklch */ color: oklch(53.6% 0.150 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a767',
    500: '#2c8229',
    950: '#000000',
  },
}
SCSS
$custom: #2c8229;
$custom-light: #71a767;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8229",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 117.978,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.14957,
    "h": 142.7
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#2C8229
secondary
#AD56B0
accent
#4CDBD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C8229

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

Preview Lab → · Contrast checker → · Palette generator →

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