#2D6B18#2D6B18

#2D6B18 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.131 H 139.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2D6B18
RGBrgb(45, 107, 24)
HSLhsl(105, 63%, 26%)
HSVhsv(105, 78%, 42%)
CMYKcmyk(57.9%, 0%, 77.6%, 58%)
CIE-LABlab(39.81, -36.06, 38.12)
CIE-LCHlch(39.81, 52.47, 133.41°)
OKLaboklab(46.92% -0.0993 0.0859)
OKLCHoklch(46.92% 0.131 139.1)
XYZxyz(6.5045, 11.1387, 2.6712)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6B18 #56186B
analogous
#566B18 #2D6B18 #186B2C
triadic
#2D6B18 #182D6B #6B182D
tetradic
#2D6B18 #18566B #56186B #6B2C18
square
#2D6B18 #18566B #56186B #6B2C18
split-complementary
#2D6B18 #2C186B #6B1856
monochromatic
#0B1906 #18390D #2D6B18 #429D23 #57CF2E

Accessibility & contrast

On white

6.51
#2D6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D6B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6B18
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6B18#FFFFFF#000000##FFFFFF
##2D6B181.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#665C21
Tritanopia (blue-blind)
#27675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d6b18;
/* rgb */ color: rgb(45, 107, 24);
/* oklch */ color: oklch(46.9% 0.131 139.1);
Tailwind
colors: {
  custom: {
    50: '#6e965b',
    500: '#2d6b18',
    950: '#000000',
  },
}
SCSS
$custom: #2d6b18;
$custom-light: #6e965b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6b18",
  "rgb": {
    "r": 45,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 104.819,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.13128,
    "h": 139.1
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#2D6B18
secondary
#883EA1
accent
#41E6BD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2D6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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