#2D8229#2D8229

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

Color values

HEX#2D8229
RGBrgb(45, 130, 41)
HSLhsl(117, 52%, 34%)
HSVhsv(117, 68%, 51%)
CMYKcmyk(65.4%, 0%, 68.5%, 49%)
CIE-LABlab(47.86, -43.49, 39.36)
CIE-LCHlch(47.86, 58.66, 137.86°)
OKLaboklab(53.61% -0.1183 0.0908)
OKLCHoklch(53.61% 0.149 142.5)
XYZxyz(9.4645, 16.6823, 4.8186)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8229 #7E2982
analogous
#598229 #2D8229 #298251
triadic
#2D8229 #292D82 #82292D
tetradic
#2D8229 #295982 #7E2982 #825129
square
#2D8229 #295982 #7E2982 #825129
split-complementary
#2D8229 #512982 #822959
monochromatic
#0D250C #1D531A #2D8229 #3DB138 #5FCB5A

Accessibility & contrast

On white

4.84
#2D8229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2D8229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8229
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8229#FFFFFF#000000##FFFFFF
##2D82291.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#1C7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8229;
/* rgb */ color: rgb(45, 130, 41);
/* oklch */ color: oklch(53.6% 0.149 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a767',
    500: '#2d8229',
    950: '#000000',
  },
}
SCSS
$custom: #2d8229;
$custom-light: #71a767;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8229",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 117.303,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.14916,
    "h": 142.5
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#2D8229
secondary
#AC56B0
accent
#4CDBD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2D8229

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

Preview Lab → · Contrast checker → · Palette generator →

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