#2D7516#2D7516

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

Color values

HEX#2D7516
RGBrgb(45, 117, 22)
HSLhsl(105, 68%, 27%)
HSVhsv(105, 81%, 46%)
CMYKcmyk(61.5%, 0%, 81.2%, 54.1%)
CIE-LABlab(43.27, -40.17, 42.23)
CIE-LCHlch(43.27, 58.28, 133.57°)
OKLaboklab(49.77% -0.1105 0.0942)
OKLCHoklch(49.77% 0.145 139.6)
XYZxyz(7.5880, 13.3377, 2.9335)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7516 #5E1675
analogous
#5C7516 #2D7516 #16752F
triadic
#2D7516 #162D75 #75162D
tetradic
#2D7516 #165C75 #5E1675 #752F16
square
#2D7516 #165C75 #5E1675 #752F16
split-complementary
#2D7516 #2F1675 #75165C
monochromatic
#0A1A05 #19410C #2D7516 #41A920 #57D82E

Accessibility & contrast

On white

5.73
#2D7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7516
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7516#FFFFFF#000000##FFFFFF
##2D75161.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#247163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7516;
/* rgb */ color: rgb(45, 117, 22);
/* oklch */ color: oklch(49.8% 0.145 139.6);
Tailwind
colors: {
  custom: {
    50: '#709d5c',
    500: '#2d7516',
    950: '#000000',
  },
}
SCSS
$custom: #2d7516;
$custom-light: #709d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7516",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 105.474,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.14518,
    "h": 139.6
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#2D7516
secondary
#903CAB
accent
#3DEBC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7516

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

Preview Lab → · Contrast checker → · Palette generator →

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