#2A6F2F#2A6F2F

#2A6F2F is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.120 H 144.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2A6F2F
RGBrgb(42, 111, 47)
HSLhsl(124, 45%, 30%)
HSVhsv(124, 62%, 44%)
CMYKcmyk(62.2%, 0%, 57.7%, 56.5%)
CIE-LABlab(41.32, -35.98, 28.97)
CIE-LCHlch(41.32, 46.19, 141.17°)
OKLaboklab(48.21% -0.0975 0.0691)
OKLCHoklch(48.21% 0.12 144.7)
XYZxyz(7.1519, 12.0657, 4.6408)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F2F #6F2A6A
analogous
#476F2A #2A6F2F #2A6F52
triadic
#2A6F2F #2F2A6F #6F2F2A
tetradic
#2A6F2F #2A476F #6F2A6A #6F522A
square
#2A6F2F #2A476F #6F2A6A #6F522A
split-complementary
#2A6F2F #522A6F #6F2A47
monochromatic
#081609 #19431C #2A6F2F #3B9B42 #55BF5C

Accessibility & contrast

On white

6.15
#2A6F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6F2F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F2F#FFFFFF#000000##FFFFFF
##2A6F2F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#1C6C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f2f;
/* rgb */ color: rgb(42, 111, 47);
/* oklch */ color: oklch(48.2% 0.120 144.7);
Tailwind
colors: {
  custom: {
    50: '#6c9969',
    500: '#2a6f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f2f;
$custom-light: #6c9969;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f2f",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 124.348,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.11953,
    "h": 144.7
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#2A6F2F
secondary
#A1549B
accent
#53CBD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A6F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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