#2D7B23#2D7B23

#2D7B23 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.145 H 141.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2D7B23
RGBrgb(45, 123, 35)
HSLhsl(113, 56%, 31%)
HSVhsv(113, 72%, 48%)
CMYKcmyk(63.4%, 0%, 71.5%, 51.8%)
CIE-LABlab(45.42, -41.43, 39.36)
CIE-LCHlch(45.42, 57.15, 136.46°)
OKLaboklab(51.58% -0.1131 0.0901)
OKLCHoklch(51.58% 0.145 141.5)
XYZxyz(8.4681, 14.8444, 4.0088)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B23 #71237B
analogous
#597B23 #2D7B23 #237B45
triadic
#2D7B23 #232D7B #7B232D
tetradic
#2D7B23 #23597B #71237B #7B4523
square
#2D7B23 #23597B #71237B #7B4523
split-complementary
#2D7B23 #45237B #7B2359
monochromatic
#0A1C08 #1C4B15 #2D7B23 #3EAB31 #5BCC4C

Accessibility & contrast

On white

5.29
#2D7B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D7B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B23
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B23#FFFFFF#000000##FFFFFF
##2D7B231.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F16
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#207769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7b23;
/* rgb */ color: rgb(45, 123, 35);
/* oklch */ color: oklch(51.6% 0.145 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a263',
    500: '#2d7b23',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b23;
$custom-light: #70a263;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b23",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 113.182,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.14458,
    "h": 141.5
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#2D7B23
secondary
#A34CAE
accent
#49DFCE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2D7B23

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

Preview Lab → · Contrast checker → · Palette generator →

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