#2D6E1B#2D6E1B

#2D6E1B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.133 H 139.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2D6E1B
RGBrgb(45, 110, 27)
HSLhsl(107, 61%, 27%)
HSVhsv(107, 75%, 43%)
CMYKcmyk(59.1%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.88, -37.03, 37.99)
CIE-LCHlch(40.88, 53.05, 134.27°)
OKLaboklab(47.8% -0.1017 0.0861)
OKLCHoklch(47.8% 0.133 139.8)
XYZxyz(6.8557, 11.7883, 2.9508)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6E1B #5C1B6E
analogous
#576E1B #2D6E1B #1B6E33
triadic
#2D6E1B #1B2D6E #6E1B2D
tetradic
#2D6E1B #1B576E #5C1B6E #6E331B
square
#2D6E1B #1B576E #5C1B6E #6E331B
split-complementary
#2D6E1B #331B6E #6E1B57
monochromatic
#0A1906 #193D0F #2D6E1B #419F27 #57CE36

Accessibility & contrast

On white

6.25
#2D6E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2D6E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6E1B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6E1B#FFFFFF#000000##FFFFFF
##2D6E1B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#266A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6e1b;
/* rgb */ color: rgb(45, 110, 27);
/* oklch */ color: oklch(47.8% 0.133 139.8);
Tailwind
colors: {
  custom: {
    50: '#6e985d',
    500: '#2d6e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2d6e1b;
$custom-light: #6e985d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6e1b",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 106.988,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.13324,
    "h": 139.8
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#2D6E1B
secondary
#8E42A3
accent
#44E4C1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2D6E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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