#2D6F15#2D6F15

#2D6F15 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.138 H 139.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2D6F15
RGBrgb(45, 111, 21)
HSLhsl(104, 68%, 26%)
HSVhsv(104, 81%, 44%)
CMYKcmyk(59.5%, 0%, 81.1%, 56.5%)
CIE-LABlab(41.18, -37.89, 40.58)
CIE-LCHlch(41.18, 55.52, 133.04°)
OKLaboklab(48.05% -0.1044 0.0906)
OKLCHoklch(48.05% 0.138 139.1)
XYZxyz(6.9017, 11.9803, 2.6581)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F15 #57156F
analogous
#5A6F15 #2D6F15 #156F2A
triadic
#2D6F15 #152D6F #6F152D
tetradic
#2D6F15 #155A6F #57156F #6F2A15
square
#2D6F15 #155A6F #57156F #6F2A15
split-complementary
#2D6F15 #2A156F #6F155A
monochromatic
#0A1A05 #183C0B #2D6F15 #42A21F #57D628

Accessibility & contrast

On white

6.18
#2D6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2D6F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F15
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F15#FFFFFF#000000##FFFFFF
##2D6F151.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#266B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f15;
/* rgb */ color: rgb(45, 111, 21);
/* oklch */ color: oklch(48.0% 0.138 139.1);
Tailwind
colors: {
  custom: {
    50: '#6e995a',
    500: '#2d6f15',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f15;
$custom-light: #6e995a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f15",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 104,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48045,
    "c": 0.13822,
    "h": 139.1
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#2D6F15
secondary
#893AA5
accent
#3DEBBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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