#2A4E2E#2A4E2E

#2A4E2E is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.068 H 146.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2A4E2E
RGBrgb(42, 78, 46)
HSLhsl(127, 30%, 24%)
HSVhsv(127, 46%, 31%)
CMYKcmyk(46.2%, 0%, 41%, 69.4%)
CIE-LABlab(29.76, -20.85, 15.01)
CIE-LCHlch(29.76, 25.69, 144.26°)
OKLaboklab(38.72% -0.0568 0.0374)
OKLCHoklch(38.72% 0.068 146.6)
XYZxyz(4.1722, 6.1380, 3.5491)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E2E #4E2A4A
analogous
#384E2A #2A4E2E #2A4E40
triadic
#2A4E2E #2E2A4E #4E2E2A
tetradic
#2A4E2E #2A384E #4E2A4A #4E402A
square
#2A4E2E #2A384E #4E2A4A #4E402A
split-complementary
#2A4E2E #402A4E #4E2A38
monochromatic
#0B140C #152617 #2A4E2E #3F7645 #559E5D

Accessibility & contrast

On white

9.43
#2A4E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A4E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E2E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E2E#FFFFFF#000000##FFFFFF
##2A4E2E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#254C46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e2e;
/* rgb */ color: rgb(42, 78, 46);
/* oklch */ color: oklch(38.7% 0.068 146.6);
Tailwind
colors: {
  custom: {
    50: '#668067',
    500: '#2a4e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e2e;
$custom-light: #668067;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e2e",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 46
  },
  "hsl": {
    "h": 126.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38723,
    "c": 0.06796,
    "h": 146.6
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#2A4E2E
secondary
#80547B
accent
#62BBC6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2A4E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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