#2D7623#2D7623

#2D7623 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.138 H 141.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2D7623
RGBrgb(45, 118, 35)
HSLhsl(113, 54%, 30%)
HSVhsv(113, 70%, 46%)
CMYKcmyk(61.9%, 0%, 70.3%, 53.7%)
CIE-LABlab(43.71, -39.48, 37.54)
CIE-LCHlch(43.71, 54.48, 136.44°)
OKLaboklab(50.16% -0.1078 0.0862)
OKLCHoklch(50.16% 0.138 141.4)
XYZxyz(7.8636, 13.6354, 3.8073)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7623 #6C2376
analogous
#577623 #2D7623 #237642
triadic
#2D7623 #232D76 #76232D
tetradic
#2D7623 #235776 #6C2376 #764223
square
#2D7623 #235776 #6C2376 #764223
split-complementary
#2D7623 #422376 #762357
monochromatic
#091807 #1B4715 #2D7623 #3FA531 #59C94A

Accessibility & contrast

On white

5.63
#2D7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7623
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7623#FFFFFF#000000##FFFFFF
##2D76231.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B18
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#227265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d7623;
/* rgb */ color: rgb(45, 118, 35);
/* oklch */ color: oklch(50.2% 0.138 141.4);
Tailwind
colors: {
  custom: {
    50: '#6f9e62',
    500: '#2d7623',
    950: '#000000',
  },
}
SCSS
$custom: #2d7623;
$custom-light: #6f9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7623",
  "rgb": {
    "r": 45,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 112.771,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.13806,
    "h": 141.4
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#2D7623
secondary
#9E4CA9
accent
#4ADECC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2D7623

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

Preview Lab → · Contrast checker → · Palette generator →

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