#2D6F2A#2D6F2A

#2D6F2A is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.123 H 142.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2D6F2A
RGBrgb(45, 111, 42)
HSLhsl(117, 45%, 30%)
HSVhsv(117, 62%, 44%)
CMYKcmyk(59.5%, 0%, 62.2%, 56.5%)
CIE-LABlab(41.36, -35.85, 31.62)
CIE-LCHlch(41.36, 47.80, 138.59°)
OKLaboklab(48.25% -0.0976 0.0744)
OKLCHoklch(48.25% 0.123 142.7)
XYZxyz(7.1842, 12.0933, 4.1457)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F2A #6C2A6F
analogous
#506F2A #2D6F2A #2A6F49
triadic
#2D6F2A #2A2D6F #6F2A2D
tetradic
#2D6F2A #2A506F #6C2A6F #6F492A
square
#2D6F2A #2A506F #6C2A6F #6F492A
split-complementary
#2D6F2A #492A6F #6F2A50
monochromatic
#091608 #1B4319 #2D6F2A #3F9B3B #59BF55

Accessibility & contrast

On white

6.14
#2D6F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2D6F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F2A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F2A#FFFFFF#000000##FFFFFF
##2D6F2A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#695F2F
Tritanopia (blue-blind)
#236C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d6f2a;
/* rgb */ color: rgb(45, 111, 42);
/* oklch */ color: oklch(48.3% 0.123 142.7);
Tailwind
colors: {
  custom: {
    50: '#6d9966',
    500: '#2d6f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f2a;
$custom-light: #6d9966;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f2a",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 117.391,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.12273,
    "h": 142.7
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#2D6F2A
secondary
#9E54A1
accent
#53D5CF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D6F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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