#2D6A18#2D6A18

#2D6A18 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.130 H 139.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2D6A18
RGBrgb(45, 106, 24)
HSLhsl(105, 63%, 25%)
HSVhsv(105, 77%, 42%)
CMYKcmyk(57.5%, 0%, 77.4%, 58.4%)
CIE-LABlab(39.46, -35.65, 37.77)
CIE-LCHlch(39.46, 51.93, 133.35°)
OKLaboklab(46.63% -0.0982 0.0852)
OKLCHoklch(46.63% 0.13 139.1)
XYZxyz(6.4008, 10.9314, 2.6366)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A18 #55186A
analogous
#566A18 #2D6A18 #186A2C
triadic
#2D6A18 #182D6A #6A182D
tetradic
#2D6A18 #18566A #55186A #6A2C18
square
#2D6A18 #18566A #55186A #6A2C18
split-complementary
#2D6A18 #2C186A #6A1856
monochromatic
#0B1906 #18380D #2D6A18 #429C23 #57CE2F

Accessibility & contrast

On white

6.59
#2D6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2D6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A18
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A18#FFFFFF#000000##FFFFFF
##2D6A181.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#27665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a18;
/* rgb */ color: rgb(45, 106, 24);
/* oklch */ color: oklch(46.6% 0.130 139.1);
Tailwind
colors: {
  custom: {
    50: '#6d955b',
    500: '#2d6a18',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a18;
$custom-light: #6d955b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a18",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 104.634,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.12997,
    "h": 139.1
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#2D6A18
secondary
#873EA0
accent
#42E6BC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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