#2A4E2F#2A4E2F

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

Color values

HEX#2A4E2F
RGBrgb(42, 78, 47)
HSLhsl(128, 30%, 24%)
HSVhsv(128, 46%, 31%)
CMYKcmyk(46.2%, 0%, 39.7%, 69.4%)
CIE-LABlab(29.78, -20.66, 14.42)
CIE-LCHlch(29.78, 25.19, 145.09°)
OKLaboklab(38.75% -0.0562 0.036)
OKLCHoklch(38.75% 0.067 147.4)
XYZxyz(4.1921, 6.1460, 3.6542)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E2F #4E2A49
analogous
#374E2A #2A4E2F #2A4E41
triadic
#2A4E2F #2F2A4E #4E2F2A
tetradic
#2A4E2F #2A374E #4E2A49 #4E412A
square
#2A4E2F #2A374E #4E2A49 #4E412A
split-complementary
#2A4E2F #412A4E #4E2A37
monochromatic
#0B140C #152617 #2A4E2F #3F7647 #559E5F

Accessibility & contrast

On white

9.42
#2A4E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E2F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E2F#FFFFFF#000000##FFFFFF
##2A4E2F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#254D46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e2f;
/* rgb */ color: rgb(42, 78, 47);
/* oklch */ color: oklch(38.7% 0.067 147.4);
Tailwind
colors: {
  custom: {
    50: '#668067',
    500: '#2a4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e2f;
$custom-light: #668067;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e2f",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 128.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.06678,
    "h": 147.4
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#2A4E2F
secondary
#80547A
accent
#62B8C6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2A4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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