#2D6F18#2D6F18

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

Color values

HEX#2D6F18
RGBrgb(45, 111, 24)
HSLhsl(106, 64%, 26%)
HSVhsv(106, 78%, 44%)
CMYKcmyk(59.5%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.20, -37.67, 39.50)
CIE-LCHlch(41.20, 54.58, 133.64°)
OKLaboklab(48.07% -0.1036 0.0888)
OKLCHoklch(48.07% 0.136 139.4)
XYZxyz(6.9312, 11.9921, 2.8134)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F18 #5A186F
analogous
#596F18 #2D6F18 #186F2F
triadic
#2D6F18 #182D6F #6F182D
tetradic
#2D6F18 #18596F #5A186F #6F2F18
square
#2D6F18 #18596F #5A186F #6F2F18
split-complementary
#2D6F18 #2F186F #6F1859
monochromatic
#0A1905 #193D0D #2D6F18 #41A123 #57D22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6F18#FFFFFF#000000##FFFFFF
##2D6F181.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)
#726506
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#266B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f18;
/* rgb */ color: rgb(45, 111, 24);
/* oklch */ color: oklch(48.1% 0.136 139.4);
Tailwind
colors: {
  custom: {
    50: '#6e995c',
    500: '#2d6f18',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f18;
$custom-light: #6e995c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f18",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 105.517,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.13647,
    "h": 139.4
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#2D6F18
secondary
#8C3EA5
accent
#40E7BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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