#2D7B24#2D7B24

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

Color values

HEX#2D7B24
RGBrgb(45, 123, 36)
HSLhsl(114, 55%, 31%)
HSVhsv(114, 71%, 48%)
CMYKcmyk(63.4%, 0%, 70.7%, 51.8%)
CIE-LABlab(45.43, -41.33, 38.94)
CIE-LCHlch(45.43, 56.79, 136.71°)
OKLaboklab(51.59% -0.1128 0.0893)
OKLCHoklch(51.59% 0.144 141.6)
XYZxyz(8.4831, 14.8504, 4.0881)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B24 #72247B
analogous
#587B24 #2D7B24 #247B46
triadic
#2D7B24 #242D7B #7B242D
tetradic
#2D7B24 #24587B #72247B #7B4624
square
#2D7B24 #24587B #72247B #7B4624
split-complementary
#2D7B24 #46247B #7B2458
monochromatic
#0A1C08 #1C4C16 #2D7B24 #3EAA32 #5BCB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7B24#FFFFFF#000000##FFFFFF
##2D7B241.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)
#7E7018
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#207769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7b24;
/* rgb */ color: rgb(45, 123, 36);
/* oklch */ color: oklch(51.6% 0.144 141.6);
Tailwind
colors: {
  custom: {
    50: '#70a264',
    500: '#2d7b24',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b24;
$custom-light: #70a264;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b24",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 113.793,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51585,
    "c": 0.14385,
    "h": 141.6
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#2D7B24
secondary
#A34DAD
accent
#4ADECF
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D7B24

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

Preview Lab → · Contrast checker → · Palette generator →

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