#2D8A23#2D8A23

#2D8A23 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.163 H 141.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D8A23
RGBrgb(45, 138, 35)
HSLhsl(114, 60%, 34%)
HSVhsv(114, 75%, 54%)
CMYKcmyk(67.4%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.52, -47.00, 44.64)
CIE-LCHlch(50.52, 64.82, 136.48°)
OKLaboklab(55.79% -0.1282 0.1011)
OKLCHoklch(55.79% 0.163 141.7)
XYZxyz(10.4735, 18.8551, 4.6772)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A23 #80238A
analogous
#618A23 #2D8A23 #238A4D
triadic
#2D8A23 #232D8A #8A232D
tetradic
#2D8A23 #23618A #80238A #8A4D23
square
#2D8A23 #23618A #80238A #8A4D23
split-complementary
#2D8A23 #4D238A #8A2361
monochromatic
#0D280A #1D5917 #2D8A23 #3DBB2F #60D454

Accessibility & contrast

On white

4.40
#2D8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A23
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A23#FFFFFF#000000##000000
##2D8A231.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#1A8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a23;
/* rgb */ color: rgb(45, 138, 35);
/* oklch */ color: oklch(55.8% 0.163 141.7);
Tailwind
colors: {
  custom: {
    50: '#73ad65',
    500: '#2d8a23',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a23;
$custom-light: #73ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a23",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 114.175,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55793,
    "c": 0.16325,
    "h": 141.7
  },
  "luminance": 0.18856
}

Semantic roles & 50–950 ramp

primary
#2D8A23
secondary
#AE51B7
accent
#45E3D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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