#2D7C16#2D7C16

#2D7C16 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.154 H 139.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2D7C16
RGBrgb(45, 124, 22)
HSLhsl(106, 70%, 29%)
HSVhsv(106, 82%, 49%)
CMYKcmyk(63.7%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.68, -42.83, 44.52)
CIE-LCHlch(45.68, 61.77, 133.89°)
OKLaboklab(51.76% -0.1176 0.099)
OKLCHoklch(51.76% 0.154 139.9)
XYZxyz(8.4343, 15.0303, 3.2156)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C16 #65167C
analogous
#607C16 #2D7C16 #167C32
triadic
#2D7C16 #162D7C #7C162D
tetradic
#2D7C16 #16607C #65167C #7C3216
square
#2D7C16 #16607C #65167C #7C3216
split-complementary
#2D7C16 #32167C #7C1660
monochromatic
#091A05 #1A480D #2D7C16 #40B01F #58DB32

Accessibility & contrast

On white

5.24
#2D7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2D7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C16
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C16#FFFFFF#000000##FFFFFF
##2D7C161.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#227869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d7c16;
/* rgb */ color: rgb(45, 124, 22);
/* oklch */ color: oklch(51.8% 0.154 139.9);
Tailwind
colors: {
  custom: {
    50: '#71a35d',
    500: '#2d7c16',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c16;
$custom-light: #71a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c16",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 106.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.15371,
    "h": 139.9
  },
  "luminance": 0.15031
}

Semantic roles & 50–950 ramp

primary
#2D7C16
secondary
#973DB1
accent
#3BEDC5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2D7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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