#2A6E1D#2A6E1D

#2A6E1D is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.133 H 140.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2A6E1D
RGBrgb(42, 110, 29)
HSLhsl(110, 58%, 27%)
HSVhsv(110, 74%, 43%)
CMYKcmyk(61.8%, 0%, 73.6%, 56.9%)
CIE-LABlab(40.79, -37.69, 37.03)
CIE-LCHlch(40.79, 52.84, 135.51°)
OKLaboklab(47.71% -0.1032 0.0844)
OKLCHoklch(47.71% 0.133 140.7)
XYZxyz(6.7522, 11.7322, 3.0709)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6E1D #611D6E
analogous
#536E1D #2A6E1D #1D6E38
triadic
#2A6E1D #1D2A6E #6E1D2A
tetradic
#2A6E1D #1D536E #611D6E #6E381D
square
#2A6E1D #1D536E #611D6E #6E381D
split-complementary
#2A6E1D #381D6E #6E1D53
monochromatic
#091806 #183E10 #2A6E1D #3C9E2A #52CB3A

Accessibility & contrast

On white

6.28
#2A6E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2A6E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6E1D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6E1D#FFFFFF#000000##FFFFFF
##2A6E1D1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716410
Deuteranopia (green-blind)
#695E25
Tritanopia (blue-blind)
#216A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6e1d;
/* rgb */ color: rgb(42, 110, 29);
/* oklch */ color: oklch(47.7% 0.133 140.7);
Tailwind
colors: {
  custom: {
    50: '#6c985e',
    500: '#2a6e1d',
    950: '#000000',
  },
}
SCSS
$custom: #2a6e1d;
$custom-light: #6c985e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6e1d",
  "rgb": {
    "r": 42,
    "g": 110,
    "b": 29
  },
  "hsl": {
    "h": 110.37,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.13328,
    "h": 140.7
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#2A6E1D
secondary
#9344A2
accent
#46E1C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #2A6E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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