#2D9015#2D9015

#2D9015 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.177 H 140.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D9015
RGBrgb(45, 144, 21)
HSLhsl(108, 75%, 32%)
HSVhsv(108, 85%, 56%)
CMYKcmyk(68.7%, 0%, 85.4%, 43.5%)
CIE-LABlab(52.46, -50.03, 51.07)
CIE-LCHlch(52.46, 71.50, 134.41°)
OKLaboklab(57.38% -0.1371 0.1125)
OKLCHoklch(57.38% 0.177 140.6)
XYZxyz(11.1902, 20.5574, 4.0876)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9015 #781590
analogous
#6A9015 #2D9015 #15903B
triadic
#2D9015 #152D90 #90152D
tetradic
#2D9015 #156A90 #781590 #903B15
square
#2D9015 #156A90 #781590 #903B15
split-complementary
#2D9015 #3B1590 #90156A
monochromatic
#0C2505 #1C5B0D #2D9015 #3EC51D #5DE33D

Accessibility & contrast

On white

4.11
#2D9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2D9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9015
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9015#FFFFFF#000000##000000
##2D90151.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#1A8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d9015;
/* rgb */ color: rgb(45, 144, 21);
/* oklch */ color: oklch(57.4% 0.177 140.6);
Tailwind
colors: {
  custom: {
    50: '#75b160',
    500: '#2d9015',
    950: '#000000',
  },
}
SCSS
$custom: #2d9015;
$custom-light: #75b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9015",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 108.293,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.17734,
    "h": 140.6
  },
  "luminance": 0.20559
}

Semantic roles & 50–950 ramp

primary
#2D9015
secondary
#A93EC2
accent
#37F1CD
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #2D9015

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

Preview Lab → · Contrast checker → · Palette generator →

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