#2D862B#2D862B

#2D862B is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.153 H 142.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D862B
RGBrgb(45, 134, 43)
HSLhsl(119, 51%, 35%)
HSVhsv(119, 68%, 53%)
CMYKcmyk(66.4%, 0%, 67.9%, 47.5%)
CIE-LABlab(49.23, -44.78, 39.96)
CIE-LCHlch(49.23, 60.02, 138.26°)
OKLaboklab(54.75% -0.1217 0.0923)
OKLCHoklch(54.75% 0.153 142.8)
XYZxyz(10.0428, 17.7815, 5.1880)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D862B #842B86
analogous
#5B862B #2D862B #2B8656
triadic
#2D862B #2B2D86 #862B2D
tetradic
#2D862B #2B5B86 #842B86 #86562B
square
#2D862B #2B5B86 #842B86 #86562B
split-complementary
#2D862B #562B86 #862B5B
monochromatic
#0E290D #1D581C #2D862B #3DB43A #62CC60

Accessibility & contrast

On white

4.61
#2D862B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2D862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D862B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D862B#FFFFFF#000000##FFFFFF
##2D862B1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#1A8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d862b;
/* rgb */ color: rgb(45, 134, 43);
/* oklch */ color: oklch(54.7% 0.153 142.8);
Tailwind
colors: {
  custom: {
    50: '#72aa69',
    500: '#2d862b',
    950: '#000000',
  },
}
SCSS
$custom: #2d862b;
$custom-light: #72aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d862b",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 118.681,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.15277,
    "h": 142.8
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#2D862B
secondary
#B05BB2
accent
#4DDBD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D862B

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

Preview Lab → · Contrast checker → · Palette generator →

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