#2A6F2C#2A6F2C

#2A6F2C is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.2% C 0.122 H 143.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2A6F2C
RGBrgb(42, 111, 44)
HSLhsl(122, 45%, 30%)
HSVhsv(122, 62%, 44%)
CMYKcmyk(62.2%, 0%, 60.4%, 56.5%)
CIE-LABlab(41.28, -36.40, 30.48)
CIE-LCHlch(41.28, 47.48, 140.06°)
OKLaboklab(48.16% -0.0988 0.0722)
OKLCHoklch(48.16% 0.122 143.9)
XYZxyz(7.0935, 12.0423, 4.3330)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F2C #6F2A6D
analogous
#4B6F2A #2A6F2C #2A6F4E
triadic
#2A6F2C #2C2A6F #6F2C2A
tetradic
#2A6F2C #2A4B6F #6F2A6D #6F4E2A
square
#2A6F2C #2A4B6F #6F2A6D #6F4E2A
split-complementary
#2A6F2C #4E2A6F #6F2A4B
monochromatic
#081609 #19431A #2A6F2C #3B9B3E #55BF58

Accessibility & contrast

On white

6.16
#2A6F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2A6F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F2C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F2C#FFFFFF#000000##FFFFFF
##2A6F2C1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716525
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#1D6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f2c;
/* rgb */ color: rgb(42, 111, 44);
/* oklch */ color: oklch(48.2% 0.122 143.9);
Tailwind
colors: {
  custom: {
    50: '#6c9967',
    500: '#2a6f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f2c;
$custom-light: #6c9967;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f2c",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 121.739,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.12235,
    "h": 143.9
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

primary
#2A6F2C
secondary
#A1549F
accent
#53D1D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A6F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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