#2D862E#2D862E

#2D862E is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.150 H 143.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2D862E
RGBrgb(45, 134, 46)
HSLhsl(121, 50%, 35%)
HSVhsv(121, 66%, 53%)
CMYKcmyk(66.4%, 0%, 65.7%, 47.5%)
CIE-LABlab(49.26, -44.46, 38.63)
CIE-LCHlch(49.26, 58.90, 139.01°)
OKLaboklab(54.78% -0.1207 0.0898)
OKLCHoklch(54.78% 0.15 143.3)
XYZxyz(10.0998, 17.8043, 5.4886)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D862E #862D85
analogous
#59862D #2D862E #2D865A
triadic
#2D862E #2E2D86 #862E2D
tetradic
#2D862E #2D5986 #862D85 #865A2D
square
#2D862E #2D5986 #862D85 #865A2D
split-complementary
#2D862E #5A2D86 #862D59
monochromatic
#0E2A0F #1E581E #2D862E #3CB43E #63CB64

Accessibility & contrast

On white

4.60
#2D862E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D862E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D862E#FFFFFF#000000##FFFFFF
##2D862E1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#198274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d862e;
/* rgb */ color: rgb(45, 134, 46);
/* oklch */ color: oklch(54.8% 0.150 143.3);
Tailwind
colors: {
  custom: {
    50: '#72aa6b',
    500: '#2d862e',
    950: '#000000',
  },
}
SCSS
$custom: #2d862e;
$custom-light: #72aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d862e",
  "rgb": {
    "r": 45,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 120.674,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.15046,
    "h": 143.3
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#2D862E
secondary
#B15EB0
accent
#4FD8D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D862E

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

Preview Lab → · Contrast checker → · Palette generator →

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