#2D841C#2D841C

#2D841C is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.160 H 140.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2D841C
RGBrgb(45, 132, 28)
HSLhsl(110, 65%, 31%)
HSVhsv(110, 79%, 52%)
CMYKcmyk(65.9%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.44, -45.37, 45.15)
CIE-LCHlch(48.44, 64.01, 135.14°)
OKLaboklab(54.06% -0.1242 0.1012)
OKLCHoklch(54.06% 0.16 140.8)
XYZxyz(9.5426, 17.1433, 3.9045)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D841C #731C84
analogous
#61841C #2D841C #1C843F
triadic
#2D841C #1C2D84 #841C2D
tetradic
#2D841C #1C6184 #731C84 #843F1C
square
#2D841C #1C6184 #731C84 #843F1C
split-complementary
#2D841C #3F1C84 #841C61
monochromatic
#0B1F07 #1C5211 #2D841C #3EB627 #5BD743

Accessibility & contrast

On white

4.74
#2D841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2D841C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D841C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D841C#FFFFFF#000000##FFFFFF
##2D841C1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887703
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#1E8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d841c;
/* rgb */ color: rgb(45, 132, 28);
/* oklch */ color: oklch(54.1% 0.160 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a961',
    500: '#2d841c',
    950: '#000000',
  },
}
SCSS
$custom: #2d841c;
$custom-light: #72a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2d841c",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 110.192,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.16016,
    "h": 140.8
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#2D841C
secondary
#A445B7
accent
#40E8CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D841C

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

Preview Lab → · Contrast checker → · Palette generator →

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