#2D6A0F#2D6A0F

#2D6A0F is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.135 H 138.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2D6A0F
RGBrgb(45, 106, 15)
HSLhsl(100, 75%, 24%)
HSVhsv(100, 86%, 42%)
CMYKcmyk(57.5%, 0%, 85.8%, 58.4%)
CIE-LABlab(39.41, -36.25, 40.88)
CIE-LCHlch(39.41, 54.64, 131.57°)
OKLaboklab(46.57% -0.1004 0.0903)
OKLCHoklch(46.57% 0.135 138)
XYZxyz(6.3222, 10.8999, 2.2226)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A0F #4C0F6A
analogous
#5A6A0F #2D6A0F #0F6A1E
triadic
#2D6A0F #0F2D6A #6A0F2D
tetradic
#2D6A0F #0F5A6A #4C0F6A #6A1E0F
square
#2D6A0F #0F5A6A #4C0F6A #6A1E0F
split-complementary
#2D6A0F #1E0F6A #6A0F5A
monochromatic
#0B1B04 #163407 #2D6A0F #44A017 #5BD51E

Accessibility & contrast

On white

6.60
#2D6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2D6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A0F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A0F#FFFFFF#000000##FFFFFF
##2D6A0F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#28665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d6a0f;
/* rgb */ color: rgb(45, 106, 15);
/* oklch */ color: oklch(46.6% 0.135 138.0);
Tailwind
colors: {
  custom: {
    50: '#6e9557',
    500: '#2d6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a0f;
$custom-light: #6e9557;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a0f",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 100.22,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46571,
    "c": 0.13499,
    "h": 138
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#2D6A0F
secondary
#7D32A2
accent
#36F2B4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2D6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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