#2D821C#2D821C

#2D821C is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.158 H 140.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2D821C
RGBrgb(45, 130, 28)
HSLhsl(110, 65%, 31%)
HSVhsv(110, 78%, 51%)
CMYKcmyk(65.4%, 0%, 78.5%, 49%)
CIE-LABlab(47.76, -44.64, 44.49)
CIE-LCHlch(47.76, 63.02, 135.10°)
OKLaboklab(53.5% -0.1222 0.0998)
OKLCHoklch(53.5% 0.158 140.8)
XYZxyz(9.2740, 16.6061, 3.8149)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D821C #711C82
analogous
#60821C #2D821C #1C823E
triadic
#2D821C #1C2D82 #821C2D
tetradic
#2D821C #1C6082 #711C82 #823E1C
square
#2D821C #1C6082 #711C82 #823E1C
split-complementary
#2D821C #3E1C82 #821C60
monochromatic
#0A1D06 #1C5011 #2D821C #3EB427 #5BD642

Accessibility & contrast

On white

4.86
#2D821C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2D821C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D821C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D821C#FFFFFF#000000##FFFFFF
##2D821C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#1F7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d821c;
/* rgb */ color: rgb(45, 130, 28);
/* oklch */ color: oklch(53.5% 0.158 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a760',
    500: '#2d821c',
    950: '#000000',
  },
}
SCSS
$custom: #2d821c;
$custom-light: #72a760;
$custom-dark: #000000;
JSON
{
  "hex": "#2d821c",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 110,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53495,
    "c": 0.15775,
    "h": 140.8
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#2D821C
secondary
#A344B5
accent
#40E8CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D821C

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

Preview Lab → · Contrast checker → · Palette generator →

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