#2D8F2B#2D8F2B

#2D8F2B is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.164 H 142.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2D8F2B
RGBrgb(45, 143, 43)
HSLhsl(119, 54%, 36%)
HSVhsv(119, 70%, 56%)
CMYKcmyk(68.5%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.26, -48.08, 43.22)
CIE-LCHlch(52.26, 64.65, 138.04°)
OKLaboklab(57.26% -0.1306 0.0992)
OKLCHoklch(57.26% 0.164 142.8)
XYZxyz(11.3400, 20.3760, 5.6204)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F2B #8D2B8F
analogous
#5F8F2B #2D8F2B #2B8F5B
triadic
#2D8F2B #2B2D8F #8F2B2D
tetradic
#2D8F2B #2B5F8F #8D2B8F #8F5B2B
square
#2D8F2B #2B5F8F #8D2B8F #8F5B2B
split-complementary
#2D8F2B #5B2B8F #8F2B5F
monochromatic
#0F310F #1E601D #2D8F2B #3CBE39 #66D064

Accessibility & contrast

On white

4.14
#2D8F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2D8F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F2B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F2B#FFFFFF#000000##000000
##2D8F2B1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821D
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#158B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f2b;
/* rgb */ color: rgb(45, 143, 43);
/* oklch */ color: oklch(57.3% 0.164 142.8);
Tailwind
colors: {
  custom: {
    50: '#74b16a',
    500: '#2d8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f2b;
$custom-light: #74b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f2b",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 118.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57256,
    "c": 0.16403,
    "h": 142.8
  },
  "luminance": 0.20377
}

Semantic roles & 50–950 ramp

primary
#2D8F2B
secondary
#B55FB7
accent
#4BDDDA
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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