#2D951C#2D951C

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

Color values

HEX#2D951C
RGBrgb(45, 149, 28)
HSLhsl(112, 68%, 35%)
HSVhsv(112, 81%, 58%)
CMYKcmyk(69.8%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.17, -51.36, 50.64)
CIE-LCHlch(54.17, 72.13, 135.40°)
OKLaboklab(58.81% -0.1403 0.1126)
OKLCHoklch(58.81% 0.18 141.2)
XYZxyz(12.0386, 22.1353, 4.7365)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D951C #841C95
analogous
#6A951C #2D951C #1C9547
triadic
#2D951C #1C2D95 #951C2D
tetradic
#2D951C #1C6A95 #841C95 #95471C
square
#2D951C #1C6A95 #841C95 #95471C
split-complementary
#2D951C #471C95 #951C6A
monochromatic
#0E2E09 #1D6112 #2D951C #3DC926 #62DE4E

Accessibility & contrast

On white

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

On black

5.43
#2D951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D951C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D951C#FFFFFF#000000##000000
##2D951C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d951c;
/* rgb */ color: rgb(45, 149, 28);
/* oklch */ color: oklch(58.8% 0.180 141.2);
Tailwind
colors: {
  custom: {
    50: '#76b563',
    500: '#2d951c',
    950: '#000000',
  },
}
SCSS
$custom: #2d951c;
$custom-light: #76b563;
$custom-dark: #000000;
JSON
{
  "hex": "#2d951c",
  "rgb": {
    "r": 45,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 111.57,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58808,
    "c": 0.17992,
    "h": 141.2
  },
  "luminance": 0.22137
}

Semantic roles & 50–950 ramp

primary
#2D951C
secondary
#B04DC0
accent
#3DEBD3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2D951C

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

Preview Lab → · Contrast checker → · Palette generator →

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