#2D6F16#2D6F16

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

Color values

HEX#2D6F16
RGBrgb(45, 111, 22)
HSLhsl(104, 67%, 26%)
HSVhsv(104, 80%, 44%)
CMYKcmyk(59.5%, 0%, 80.2%, 56.5%)
CIE-LABlab(41.19, -37.82, 40.23)
CIE-LCHlch(41.19, 55.21, 133.23°)
OKLaboklab(48.05% -0.1042 0.09)
OKLCHoklch(48.05% 0.138 139.2)
XYZxyz(6.9112, 11.9841, 2.7079)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F16 #58166F
analogous
#596F16 #2D6F16 #166F2B
triadic
#2D6F16 #162D6F #6F162D
tetradic
#2D6F16 #16596F #58166F #6F2B16
square
#2D6F16 #16596F #58166F #6F2B16
split-complementary
#2D6F16 #2B166F #6F1659
monochromatic
#0A1A05 #183C0C #2D6F16 #42A220 #57D52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6F16#FFFFFF#000000##FFFFFF
##2D6F161.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)
#726502
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#266B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f16;
/* rgb */ color: rgb(45, 111, 22);
/* oklch */ color: oklch(48.1% 0.138 139.2);
Tailwind
colors: {
  custom: {
    50: '#6e995b',
    500: '#2d6f16',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f16;
$custom-light: #6e995b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f16",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 104.494,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.13765,
    "h": 139.2
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#2D6F16
secondary
#8A3CA5
accent
#3EEABD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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