#2A4E2C#2A4E2C

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

Color values

HEX#2A4E2C
RGBrgb(42, 78, 44)
HSLhsl(123, 30%, 24%)
HSVhsv(123, 46%, 31%)
CMYKcmyk(46.2%, 0%, 43.6%, 69.4%)
CIE-LABlab(29.72, -21.23, 16.18)
CIE-LCHlch(29.72, 26.70, 142.69°)
OKLaboklab(38.68% -0.0578 0.0401)
OKLCHoklch(38.68% 0.07 145.3)
XYZxyz(4.1336, 6.1226, 3.3464)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E2C #4E2A4C
analogous
#3A4E2A #2A4E2C #2A4E3E
triadic
#2A4E2C #2C2A4E #4E2C2A
tetradic
#2A4E2C #2A3A4E #4E2A4C #4E3E2A
square
#2A4E2C #2A3A4E #4E2A4C #4E3E2A
split-complementary
#2A4E2C #3E2A4E #4E2A3A
monochromatic
#0B140B #152616 #2A4E2C #3F7642 #559E59

Accessibility & contrast

On white

9.44
#2A4E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A4E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E2C
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E2C#FFFFFF#000000##FFFFFF
##2A4E2C1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4e2c;
/* rgb */ color: rgb(42, 78, 44);
/* oklch */ color: oklch(38.7% 0.070 145.3);
Tailwind
colors: {
  custom: {
    50: '#668065',
    500: '#2a4e2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e2c;
$custom-light: #668065;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e2c",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 44
  },
  "hsl": {
    "h": 123.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38679,
    "c": 0.07033,
    "h": 145.3
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#2A4E2C
secondary
#80547E
accent
#62C1C6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2A4E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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