#2D7621#2D7621

#2D7621 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.140 H 141.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2D7621
RGBrgb(45, 118, 33)
HSLhsl(112, 56%, 30%)
HSVhsv(112, 72%, 46%)
CMYKcmyk(61.9%, 0%, 72%, 53.7%)
CIE-LABlab(43.69, -39.67, 38.39)
CIE-LCHlch(43.69, 55.21, 135.94°)
OKLaboklab(50.14% -0.1085 0.0878)
OKLCHoklch(50.14% 0.14 141)
XYZxyz(7.8348, 13.6238, 3.6553)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7621 #6A2176
analogous
#587621 #2D7621 #21763F
triadic
#2D7621 #212D76 #76212D
tetradic
#2D7621 #215876 #6A2176 #763F21
square
#2D7621 #215876 #6A2176 #763F21
split-complementary
#2D7621 #3F2176 #762158
monochromatic
#091807 #1B4614 #2D7621 #3FA62E #59CB46

Accessibility & contrast

On white

5.64
#2D7621 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2D7621 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7621
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7621#FFFFFF#000000##FFFFFF
##2D76211.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B14
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#227265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7621;
/* rgb */ color: rgb(45, 118, 33);
/* oklch */ color: oklch(50.1% 0.140 141.0);
Tailwind
colors: {
  custom: {
    50: '#6f9e61',
    500: '#2d7621',
    950: '#000000',
  },
}
SCSS
$custom: #2d7621;
$custom-light: #6f9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7621",
  "rgb": {
    "r": 45,
    "g": 118,
    "b": 33
  },
  "hsl": {
    "h": 111.529,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.13953,
    "h": 141
  },
  "luminance": 0.13625
}

Semantic roles & 50–950 ramp

primary
#2D7621
secondary
#9C4AA9
accent
#48E0CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D7621

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

Preview Lab → · Contrast checker → · Palette generator →

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