#2D7518#2D7518

#2D7518 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.144 H 139.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2D7518
RGBrgb(45, 117, 24)
HSLhsl(106, 66%, 28%)
HSVhsv(106, 79%, 46%)
CMYKcmyk(61.5%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.28, -40.03, 41.54)
CIE-LCHlch(43.28, 57.69, 133.94°)
OKLaboklab(49.78% -0.11 0.093)
OKLCHoklch(49.78% 0.144 139.8)
XYZxyz(7.6080, 13.3457, 3.0390)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7518 #601875
analogous
#5B7518 #2D7518 #187532
triadic
#2D7518 #182D75 #75182D
tetradic
#2D7518 #185B75 #601875 #753218
square
#2D7518 #185B75 #601875 #753218
split-complementary
#2D7518 #321875 #75185B
monochromatic
#0A1905 #19420E #2D7518 #41A822 #57D532

Accessibility & contrast

On white

5.72
#2D7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2D7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7518
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7518#FFFFFF#000000##FFFFFF
##2D75181.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#247163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7518;
/* rgb */ color: rgb(45, 117, 24);
/* oklch */ color: oklch(49.8% 0.144 139.8);
Tailwind
colors: {
  custom: {
    50: '#709d5d',
    500: '#2d7518',
    950: '#000000',
  },
}
SCSS
$custom: #2d7518;
$custom-light: #709d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7518",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 106.452,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.14407,
    "h": 139.8
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#2D7518
secondary
#923FAA
accent
#3FE9C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7518

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

Preview Lab → · Contrast checker → · Palette generator →

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