#2D7D23#2D7D23

#2D7D23 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.147 H 141.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2D7D23
RGBrgb(45, 125, 35)
HSLhsl(113, 56%, 31%)
HSVhsv(113, 72%, 49%)
CMYKcmyk(64%, 0%, 72%, 51%)
CIE-LABlab(46.10, -42.19, 40.08)
CIE-LCHlch(46.10, 58.20, 136.47°)
OKLaboklab(52.14% -0.1152 0.0916)
OKLCHoklch(52.14% 0.147 141.5)
XYZxyz(8.7187, 15.3456, 4.0923)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D23 #73237D
analogous
#5A7D23 #2D7D23 #237D46
triadic
#2D7D23 #232D7D #7D232D
tetradic
#2D7D23 #235A7D #73237D #7D4623
square
#2D7D23 #235A7D #73237D #7D4623
split-complementary
#2D7D23 #46237D #7D235A
monochromatic
#0B1D08 #1C4D16 #2D7D23 #3EAD30 #5BCD4D

Accessibility & contrast

On white

5.16
#2D7D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2D7D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D23
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D23#FFFFFF#000000##FFFFFF
##2D7D231.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#20796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7d23;
/* rgb */ color: rgb(45, 125, 35);
/* oklch */ color: oklch(52.1% 0.147 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a363',
    500: '#2d7d23',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d23;
$custom-light: #71a363;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d23",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 113.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.14714,
    "h": 141.5
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#2D7D23
secondary
#A44CAF
accent
#48E0CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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