#2D6F19#2D6F19

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

Color values

HEX#2D6F19
RGBrgb(45, 111, 25)
HSLhsl(106, 63%, 27%)
HSVhsv(106, 77%, 44%)
CMYKcmyk(59.5%, 0%, 77.5%, 56.5%)
CIE-LABlab(41.21, -37.60, 39.12)
CIE-LCHlch(41.21, 54.26, 133.86°)
OKLaboklab(48.07% -0.1034 0.0881)
OKLCHoklch(48.07% 0.136 139.5)
XYZxyz(6.9418, 11.9964, 2.8692)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F19 #5B196F
analogous
#586F19 #2D6F19 #196F30
triadic
#2D6F19 #192D6F #6F192D
tetradic
#2D6F19 #19586F #5B196F #6F3019
square
#2D6F19 #19586F #5B196F #6F3019
split-complementary
#2D6F19 #30196F #6F1958
monochromatic
#0A1906 #193D0E #2D6F19 #41A124 #57D132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6F19#FFFFFF#000000##FFFFFF
##2D6F191.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)
#726508
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#266B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6f19;
/* rgb */ color: rgb(45, 111, 25);
/* oklch */ color: oklch(48.1% 0.136 139.5);
Tailwind
colors: {
  custom: {
    50: '#6e995c',
    500: '#2d6f19',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f19;
$custom-light: #6e995c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f19",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 106.047,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.13585,
    "h": 139.5
  },
  "luminance": 0.11997
}

Semantic roles & 50–950 ramp

primary
#2D6F19
secondary
#8D3FA4
accent
#42E6C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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