#2D8C1B#2D8C1B

#2D8C1B is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.170 H 141.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D8C1B
RGBrgb(45, 140, 27)
HSLhsl(110, 68%, 33%)
HSVhsv(110, 81%, 55%)
CMYKcmyk(67.9%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.14, -48.30, 48.09)
CIE-LCHlch(51.14, 68.16, 135.13°)
OKLaboklab(56.3% -0.1321 0.1072)
OKLCHoklch(56.3% 0.17 141)
XYZxyz(10.6576, 19.3921, 4.2181)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C1B #7A1B8C
analogous
#668C1B #2D8C1B #1B8C41
triadic
#2D8C1B #1B2D8C #8C1B2D
tetradic
#2D8C1B #1B668C #7A1B8C #8C411B
square
#2D8C1B #1B668C #7A1B8C #8C411B
split-complementary
#2D8C1B #411B8C #8C1B66
monochromatic
#0C2507 #1D5911 #2D8C1B #3DBF25 #5EDB46

Accessibility & contrast

On white

4.30
#2D8C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2D8C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8C1B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8C1B#FFFFFF#000000##000000
##2D8C1B1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#1B8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8c1b;
/* rgb */ color: rgb(45, 140, 27);
/* oklch */ color: oklch(56.3% 0.170 141.0);
Tailwind
colors: {
  custom: {
    50: '#74af61',
    500: '#2d8c1b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c1b;
$custom-light: #74af61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c1b",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 110.442,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56296,
    "c": 0.17011,
    "h": 141
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#2D8C1B
secondary
#AA46BD
accent
#3DEBCF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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