#2D8F23#2D8F23

#2D8F23 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.169 H 141.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2D8F23
RGBrgb(45, 143, 35)
HSLhsl(114, 61%, 35%)
HSVhsv(114, 76%, 56%)
CMYKcmyk(68.5%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.20, -48.78, 46.34)
CIE-LCHlch(52.20, 67.29, 136.47°)
OKLaboklab(57.19% -0.133 0.1047)
OKLCHoklch(57.19% 0.169 141.8)
XYZxyz(11.2074, 20.3230, 4.9219)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F23 #85238F
analogous
#638F23 #2D8F23 #238F4F
triadic
#2D8F23 #232D8F #8F232D
tetradic
#2D8F23 #23638F #85238F #8F4F23
square
#2D8F23 #23638F #85238F #8F4F23
split-complementary
#2D8F23 #4F238F #8F2363
monochromatic
#0E2D0B #1E5E17 #2D8F23 #3CC02F #62D657

Accessibility & contrast

On white

4.15
#2D8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2D8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F23
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F23#FFFFFF#000000##000000
##2D8F231.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810E
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#188A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f23;
/* rgb */ color: rgb(45, 143, 35);
/* oklch */ color: oklch(57.2% 0.169 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b165',
    500: '#2d8f23',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f23;
$custom-light: #74b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f23",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 114.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.16923,
    "h": 141.8
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#2D8F23
secondary
#B054BA
accent
#44E4D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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