#2D7C15#2D7C15

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

Color values

HEX#2D7C15
RGBrgb(45, 124, 21)
HSLhsl(106, 71%, 28%)
HSVhsv(106, 83%, 49%)
CMYKcmyk(63.7%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.67, -42.89, 44.83)
CIE-LCHlch(45.67, 62.04, 133.73°)
OKLaboklab(51.75% -0.1178 0.0995)
OKLCHoklch(51.75% 0.154 139.8)
XYZxyz(8.4248, 15.0265, 3.1658)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C15 #64157C
analogous
#607C15 #2D7C15 #157C30
triadic
#2D7C15 #152D7C #7C152D
tetradic
#2D7C15 #15607C #64157C #7C3015
square
#2D7C15 #15607C #64157C #7C3015
split-complementary
#2D7C15 #30157C #7C1560
monochromatic
#091A04 #1A480C #2D7C15 #40B01E #58DC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7C15#FFFFFF#000000##FFFFFF
##2D7C151.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: #2d7c15;
/* rgb */ color: rgb(45, 124, 21);
/* oklch */ color: oklch(51.8% 0.154 139.8);
Tailwind
colors: {
  custom: {
    50: '#71a35c',
    500: '#2d7c15',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c15;
$custom-light: #71a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c15",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 106.019,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.1542,
    "h": 139.8
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#2D7C15
secondary
#963CB1
accent
#3AEEC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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