#2D7923#2D7923

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

Color values

HEX#2D7923
RGBrgb(45, 121, 35)
HSLhsl(113, 55%, 31%)
HSVhsv(113, 71%, 47%)
CMYKcmyk(62.8%, 0%, 71.1%, 52.5%)
CIE-LABlab(44.74, -40.65, 38.64)
CIE-LCHlch(44.74, 56.09, 136.46°)
OKLaboklab(51.01% -0.111 0.0885)
OKLCHoklch(51.01% 0.142 141.4)
XYZxyz(8.2225, 14.3532, 3.9269)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7923 #6F2379
analogous
#587923 #2D7923 #237944
triadic
#2D7923 #232D79 #79232D
tetradic
#2D7923 #235879 #6F2379 #794423
square
#2D7923 #235879 #6F2379 #794423
split-complementary
#2D7923 #442379 #792358
monochromatic
#0A1A08 #1B4A15 #2D7923 #3FA831 #5ACB4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7923#FFFFFF#000000##FFFFFF
##2D79231.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)
#7C6E17
Deuteranopia (green-blind)
#73672B
Tritanopia (blue-blind)
#217568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7923;
/* rgb */ color: rgb(45, 121, 35);
/* oklch */ color: oklch(51.0% 0.142 141.4);
Tailwind
colors: {
  custom: {
    50: '#70a063',
    500: '#2d7923',
    950: '#000000',
  },
}
SCSS
$custom: #2d7923;
$custom-light: #70a063;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7923",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 113.023,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5101,
    "c": 0.14199,
    "h": 141.4
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#2D7923
secondary
#A14CAC
accent
#49DECD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2D7923

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

Preview Lab → · Contrast checker → · Palette generator →

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