#2A6D1D#2A6D1D

#2A6D1D is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.132 H 140.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2A6D1D
RGBrgb(42, 109, 29)
HSLhsl(110, 58%, 27%)
HSVhsv(110, 73%, 43%)
CMYKcmyk(61.5%, 0%, 73.4%, 57.3%)
CIE-LABlab(40.44, -37.29, 36.67)
CIE-LCHlch(40.44, 52.30, 135.49°)
OKLaboklab(47.42% -0.1021 0.0836)
OKLCHoklch(47.42% 0.132 140.7)
XYZxyz(6.6449, 11.5176, 3.0351)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6D1D #601D6D
analogous
#526D1D #2A6D1D #1D6D38
triadic
#2A6D1D #1D2A6D #6D1D2A
tetradic
#2A6D1D #1D526D #601D6D #6D381D
square
#2A6D1D #1D526D #601D6D #6D381D
split-complementary
#2A6D1D #381D6D #6D1D52
monochromatic
#091806 #173D10 #2A6D1D #3D9D2A #51CB3A

Accessibility & contrast

On white

6.36
#2A6D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2A6D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6D1D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6D1D#FFFFFF#000000##FFFFFF
##2A6D1D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706311
Deuteranopia (green-blind)
#685D25
Tritanopia (blue-blind)
#21695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6d1d;
/* rgb */ color: rgb(42, 109, 29);
/* oklch */ color: oklch(47.4% 0.132 140.7);
Tailwind
colors: {
  custom: {
    50: '#6c975e',
    500: '#2a6d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6d1d;
$custom-light: #6c975e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6d1d",
  "rgb": {
    "r": 42,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 110.25,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.13196,
    "h": 140.7
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#2A6D1D
secondary
#9244A2
accent
#47E1C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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