#2D6515#2D6515

#2D6515 is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.2% C 0.125 H 138.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2D6515
RGBrgb(45, 101, 21)
HSLhsl(102, 66%, 24%)
HSVhsv(102, 79%, 40%)
CMYKcmyk(55.4%, 0%, 79.2%, 60.4%)
CIE-LABlab(37.70, -33.80, 37.18)
CIE-LCHlch(37.70, 50.25, 132.28°)
OKLaboklab(45.17% -0.0934 0.0835)
OKLCHoklch(45.17% 0.125 138.2)
XYZxyz(5.8710, 9.9189, 2.3145)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6515 #4D1565
analogous
#556515 #2D6515 #156525
triadic
#2D6515 #152D65 #65152D
tetradic
#2D6515 #155565 #4D1565 #652515
square
#2D6515 #155565 #4D1565 #652515
split-complementary
#2D6515 #251565 #651555
monochromatic
#0B1905 #16320A #2D6515 #449820 #5ACA2A

Accessibility & contrast

On white

7.04
#2D6515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2D6515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6515
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6515#FFFFFF#000000##FFFFFF
##2D65151.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C05
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#286156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d6515;
/* rgb */ color: rgb(45, 101, 21);
/* oklch */ color: oklch(45.2% 0.125 138.2);
Tailwind
colors: {
  custom: {
    50: '#6d9159',
    500: '#2d6515',
    950: '#000000',
  },
}
SCSS
$custom: #2d6515;
$custom-light: #6d9159;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6515",
  "rgb": {
    "r": 45,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 102,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.12526,
    "h": 138.2
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#2D6515
secondary
#7F3A9C
accent
#3FE9B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2D6515

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

Preview Lab → · Contrast checker → · Palette generator →

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