#2B951D#2B951D

#2B951D is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.180 H 141.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2B951D
RGBrgb(43, 149, 29)
HSLhsl(113, 67%, 35%)
HSVhsv(113, 81%, 58%)
CMYKcmyk(71.1%, 0%, 80.5%, 41.6%)
CIE-LABlab(54.13, -51.69, 50.28)
CIE-LCHlch(54.13, 72.11, 135.79°)
OKLaboklab(58.76% -0.141 0.112)
OKLCHoklch(58.76% 0.18 141.5)
XYZxyz(11.9648, 22.0959, 4.7965)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B951D #871D95
analogous
#67951D #2B951D #1D954B
triadic
#2B951D #1D2B95 #951D2B
tetradic
#2B951D #1D6795 #871D95 #954B1D
square
#2B951D #1D6795 #871D95 #954B1D
split-complementary
#2B951D #4B1D95 #951D67
monochromatic
#0D2F09 #1C6213 #2B951D #3AC827 #60DD50

Accessibility & contrast

On white

3.87
#2B951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#2B951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B951D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B951D#FFFFFF#000000##000000
##2B951D1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#10907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2b951d;
/* rgb */ color: rgb(43, 149, 29);
/* oklch */ color: oklch(58.8% 0.180 141.5);
Tailwind
colors: {
  custom: {
    50: '#75b563',
    500: '#2b951d',
    950: '#000000',
  },
}
SCSS
$custom: #2b951d;
$custom-light: #75b563;
$custom-dark: #000000;
JSON
{
  "hex": "#2b951d",
  "rgb": {
    "r": 43,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 113,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.18012,
    "h": 141.5
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#2B951D
secondary
#B24EC0
accent
#3DEAD6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2B951D

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

Preview Lab → · Contrast checker → · Palette generator →

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