#2D6F1A#2D6F1A

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

Color values

HEX#2D6F1A
RGBrgb(45, 111, 26)
HSLhsl(107, 62%, 27%)
HSVhsv(107, 77%, 44%)
CMYKcmyk(59.5%, 0%, 76.6%, 56.5%)
CIE-LABlab(41.22, -37.52, 38.74)
CIE-LCHlch(41.22, 53.93, 134.08°)
OKLaboklab(48.08% -0.1031 0.0875)
OKLCHoklch(48.08% 0.135 139.7)
XYZxyz(6.9528, 12.0008, 2.9271)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F1A #5C1A6F
analogous
#586F1A #2D6F1A #1A6F32
triadic
#2D6F1A #1A2D6F #6F1A2D
tetradic
#2D6F1A #1A586F #5C1A6F #6F321A
square
#2D6F1A #1A586F #5C1A6F #6F321A
split-complementary
#2D6F1A #321A6F #6F1A58
monochromatic
#0A1906 #193D0E #2D6F1A #41A126 #57CF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6F1A#FFFFFF#000000##FFFFFF
##2D6F1A1.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)
#72650A
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#256B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f1a;
/* rgb */ color: rgb(45, 111, 26);
/* oklch */ color: oklch(48.1% 0.135 139.7);
Tailwind
colors: {
  custom: {
    50: '#6e995d',
    500: '#2d6f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f1a;
$custom-light: #6e995d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f1a",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 106.588,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.13521,
    "h": 139.7
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#2D6F1A
secondary
#8E41A4
accent
#43E5C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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