#2A4E2A#2A4E2A

#2A4E2A is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.073 H 144.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2A4E2A
RGBrgb(42, 78, 42)
HSLhsl(120, 30%, 24%)
HSVhsv(120, 46%, 31%)
CMYKcmyk(46.2%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.68, -21.60, 17.35)
CIE-LCHlch(29.68, 27.70, 141.23°)
OKLaboklab(38.64% -0.0588 0.0427)
OKLCHoklch(38.64% 0.073 144)
XYZxyz(4.0970, 6.1079, 3.1531)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E2A #4E2A4E
analogous
#3C4E2A #2A4E2A #2A4E3C
triadic
#2A4E2A #2A2A4E #4E2A2A
tetradic
#2A4E2A #2A3C4E #4E2A4E #4E3C2A
square
#2A4E2A #2A3C4E #4E2A4E #4E3C2A
split-complementary
#2A4E2A #3C2A4E #4E2A3C
monochromatic
#0B140B #152615 #2A4E2A #3F763F #559E55

Accessibility & contrast

On white

9.45
#2A4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E2A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E2A#FFFFFF#000000##FFFFFF
##2A4E2A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#4A452C
Tritanopia (blue-blind)
#264C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e2a;
/* rgb */ color: rgb(42, 78, 42);
/* oklch */ color: oklch(38.6% 0.073 144.0);
Tailwind
colors: {
  custom: {
    50: '#668064',
    500: '#2a4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e2a;
$custom-light: #668064;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e2a",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.07268,
    "h": 144
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#2A4E2A
secondary
#805480
accent
#62C6C6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2A4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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