#2A6F2E#2A6F2E

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

Color values

HEX#2A6F2E
RGBrgb(42, 111, 46)
HSLhsl(123, 45%, 30%)
HSVhsv(123, 62%, 44%)
CMYKcmyk(62.2%, 0%, 58.6%, 56.5%)
CIE-LABlab(41.31, -36.12, 29.48)
CIE-LCHlch(41.31, 46.62, 140.79°)
OKLaboklab(48.19% -0.098 0.0701)
OKLCHoklch(48.19% 0.12 144.4)
XYZxyz(7.1320, 12.0577, 4.5358)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F2E #6F2A6B
analogous
#496F2A #2A6F2E #2A6F50
triadic
#2A6F2E #2E2A6F #6F2E2A
tetradic
#2A6F2E #2A496F #6F2A6B #6F502A
square
#2A6F2E #2A496F #6F2A6B #6F502A
split-complementary
#2A6F2E #502A6F #6F2A49
monochromatic
#081609 #19431C #2A6F2E #3B9B40 #55BF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A6F2E#FFFFFF#000000##FFFFFF
##2A6F2E1.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)
#716528
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#1D6C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a6f2e;
/* rgb */ color: rgb(42, 111, 46);
/* oklch */ color: oklch(48.2% 0.120 144.4);
Tailwind
colors: {
  custom: {
    50: '#6c9969',
    500: '#2a6f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f2e;
$custom-light: #6c9969;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f2e",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 123.478,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.12048,
    "h": 144.4
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#2A6F2E
secondary
#A1549D
accent
#53CDD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A6F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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