#2D862A#2D862A

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

Color values

HEX#2D862A
RGBrgb(45, 134, 42)
HSLhsl(118, 52%, 35%)
HSVhsv(118, 69%, 53%)
CMYKcmyk(66.4%, 0%, 68.7%, 47.5%)
CIE-LABlab(49.22, -44.89, 40.39)
CIE-LCHlch(49.22, 60.39, 138.02°)
OKLaboklab(54.74% -0.1221 0.0931)
OKLCHoklch(54.74% 0.154 142.7)
XYZxyz(10.0246, 17.7742, 5.0925)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D862A #832A86
analogous
#5B862A #2D862A #2A8655
triadic
#2D862A #2A2D86 #862A2D
tetradic
#2D862A #2A5B86 #832A86 #86552A
square
#2D862A #2A5B86 #832A86 #86552A
split-complementary
#2D862A #552A86 #862A5B
monochromatic
#0E290D #1D571B #2D862A #3DB539 #62CD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D862A#FFFFFF#000000##FFFFFF
##2D862A1.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)
#89791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#1A8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d862a;
/* rgb */ color: rgb(45, 134, 42);
/* oklch */ color: oklch(54.7% 0.154 142.7);
Tailwind
colors: {
  custom: {
    50: '#72aa68',
    500: '#2d862a',
    950: '#000000',
  },
}
SCSS
$custom: #2d862a;
$custom-light: #72aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d862a",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 118.043,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.15352,
    "h": 142.7
  },
  "luminance": 0.17775
}

Semantic roles & 50–950 ramp

primary
#2D862A
secondary
#AF5AB2
accent
#4CDCD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D862A

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

Preview Lab → · Contrast checker → · Palette generator →

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