#2D8F1B#2D8F1B

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

Color values

HEX#2D8F1B
RGBrgb(45, 143, 27)
HSLhsl(111, 68%, 33%)
HSVhsv(111, 81%, 56%)
CMYKcmyk(68.5%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.15, -49.35, 49.05)
CIE-LCHlch(52.15, 69.58, 135.18°)
OKLaboklab(57.13% -0.1349 0.1092)
OKLCHoklch(57.13% 0.174 141)
XYZxyz(11.1019, 20.2808, 4.3662)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F1B #7D1B8F
analogous
#678F1B #2D8F1B #1B8F43
triadic
#2D8F1B #1B2D8F #8F1B2D
tetradic
#2D8F1B #1B678F #7D1B8F #8F431B
square
#2D8F1B #1B678F #7D1B8F #8F431B
split-complementary
#2D8F1B #431B8F #8F1B67
monochromatic
#0D2808 #1D5C11 #2D8F1B #3DC225 #5FDC48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8F1B#FFFFFF#000000##000000
##2D8F1B1.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)
#938100
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#198A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f1b;
/* rgb */ color: rgb(45, 143, 27);
/* oklch */ color: oklch(57.1% 0.174 141.0);
Tailwind
colors: {
  custom: {
    50: '#75b162',
    500: '#2d8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f1b;
$custom-light: #75b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f1b",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 110.69,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.17356,
    "h": 141
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#2D8F1B
secondary
#AC48BE
accent
#3DEBD0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2D8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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