#2D7921#2D7921

#2D7921 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.143 H 141.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2D7921
RGBrgb(45, 121, 33)
HSLhsl(112, 57%, 30%)
HSVhsv(112, 73%, 47%)
CMYKcmyk(62.8%, 0%, 72.7%, 52.5%)
CIE-LABlab(44.72, -40.84, 39.47)
CIE-LCHlch(44.72, 56.80, 135.98°)
OKLaboklab(50.99% -0.1116 0.09)
OKLCHoklch(50.99% 0.143 141.1)
XYZxyz(8.1937, 14.3417, 3.7750)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7921 #6D2179
analogous
#597921 #2D7921 #217941
triadic
#2D7921 #212D79 #79212D
tetradic
#2D7921 #215979 #6D2179 #794121
square
#2D7921 #215979 #6D2179 #794121
split-complementary
#2D7921 #412179 #792159
monochromatic
#091907 #1B4914 #2D7921 #3FA92E #5ACD47

Accessibility & contrast

On white

5.43
#2D7921 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2D7921 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7921
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7921#FFFFFF#000000##FFFFFF
##2D79211.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E13
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#217567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7921;
/* rgb */ color: rgb(45, 121, 33);
/* oklch */ color: oklch(51.0% 0.143 141.1);
Tailwind
colors: {
  custom: {
    50: '#70a062',
    500: '#2d7921',
    950: '#000000',
  },
}
SCSS
$custom: #2d7921;
$custom-light: #70a062;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7921",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 33
  },
  "hsl": {
    "h": 111.818,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.14341,
    "h": 141.1
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#2D7921
secondary
#9F4AAC
accent
#47E0CC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2D7921

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

Preview Lab → · Contrast checker → · Palette generator →

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