#2D8223#2D8223

#2D8223 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.153 H 141.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2D8223
RGBrgb(45, 130, 35)
HSLhsl(114, 58%, 32%)
HSVhsv(114, 73%, 51%)
CMYKcmyk(65.4%, 0%, 73.1%, 49%)
CIE-LABlab(47.81, -44.07, 41.86)
CIE-LCHlch(47.81, 60.78, 136.48°)
OKLaboklab(53.55% -0.1203 0.0953)
OKLCHoklch(53.55% 0.153 141.6)
XYZxyz(9.3677, 16.6436, 4.3086)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8223 #782382
analogous
#5D8223 #2D8223 #238248
triadic
#2D8223 #232D82 #82232D
tetradic
#2D8223 #235D82 #782382 #824823
square
#2D8223 #235D82 #782382 #824823
split-complementary
#2D8223 #482382 #82235D
monochromatic
#0C2209 #1C5216 #2D8223 #3EB230 #5DD050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8223#FFFFFF#000000##FFFFFF
##2D82231.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)
#857614
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#1E7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8223;
/* rgb */ color: rgb(45, 130, 35);
/* oklch */ color: oklch(53.5% 0.153 141.6);
Tailwind
colors: {
  custom: {
    50: '#72a764',
    500: '#2d8223',
    950: '#000000',
  },
}
SCSS
$custom: #2d8223;
$custom-light: #72a764;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8223",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 113.684,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.15344,
    "h": 141.6
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#2D8223
secondary
#A94DB3
accent
#47E1D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2D8223

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

Preview Lab → · Contrast checker → · Palette generator →

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