#2D8239#2D8239

#2D8239 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.136 H 145.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2D8239
RGBrgb(45, 130, 57)
HSLhsl(128, 49%, 34%)
HSVhsv(128, 65%, 51%)
CMYKcmyk(65.4%, 0%, 56.2%, 49%)
CIE-LABlab(48.03, -41.51, 31.83)
CIE-LCHlch(48.03, 52.31, 142.52°)
OKLaboklab(53.81% -0.1122 0.0761)
OKLCHoklch(53.81% 0.136 145.8)
XYZxyz(9.8027, 16.8176, 6.5996)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8239 #822D76
analogous
#4C822D #2D8239 #2D8264
triadic
#2D8239 #392D82 #82392D
tetradic
#2D8239 #2D4C82 #822D76 #82642D
square
#2D8239 #2D4C82 #822D76 #82642D
split-complementary
#2D8239 #642D82 #822D4C
monochromatic
#0E2711 #1D5525 #2D8239 #3DAF4D #61C870

Accessibility & contrast

On white

4.81
#2D8239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2D8239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8239
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8239#FFFFFF#000000##FFFFFF
##2D82391.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847632
Deuteranopia (green-blind)
#796F3E
Tritanopia (blue-blind)
#177F72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d8239;
/* rgb */ color: rgb(45, 130, 57);
/* oklch */ color: oklch(53.8% 0.136 145.8);
Tailwind
colors: {
  custom: {
    50: '#70a771',
    500: '#2d8239',
    950: '#000000',
  },
}
SCSS
$custom: #2d8239;
$custom-light: #70a771;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8239",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 128.471,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.13561,
    "h": 145.8
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#2D8239
secondary
#AF5CA3
accent
#50C5D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D8239

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

Preview Lab → · Contrast checker → · Palette generator →

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