#2A4E32#2A4E32

#2A4E32 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.063 H 149.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2A4E32
RGBrgb(42, 78, 50)
HSLhsl(133, 30%, 24%)
HSVhsv(133, 46%, 31%)
CMYKcmyk(46.2%, 0%, 35.9%, 69.4%)
CIE-LABlab(29.84, -20.05, 12.64)
CIE-LCHlch(29.84, 23.70, 147.78°)
OKLaboklab(38.82% -0.0547 0.0318)
OKLCHoklch(38.82% 0.063 149.8)
XYZxyz(4.2547, 6.1710, 3.9839)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E32 #4E2A46
analogous
#344E2A #2A4E32 #2A4E44
triadic
#2A4E32 #322A4E #4E322A
tetradic
#2A4E32 #2A344E #4E2A46 #4E442A
square
#2A4E32 #2A344E #4E2A46 #4E442A
split-complementary
#2A4E32 #442A4E #4E2A34
monochromatic
#0B140D #152618 #2A4E32 #3F764B #559E65

Accessibility & contrast

On white

9.40
#2A4E32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E32
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E32#FFFFFF#000000##FFFFFF
##2A4E321.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#494534
Tritanopia (blue-blind)
#244D47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e32;
/* rgb */ color: rgb(42, 78, 50);
/* oklch */ color: oklch(38.8% 0.063 149.8);
Tailwind
colors: {
  custom: {
    50: '#66806a',
    500: '#2a4e32',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e32;
$custom-light: #66806a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e32",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 50
  },
  "hsl": {
    "h": 133.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.06326,
    "h": 149.8
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#2A4E32
secondary
#805476
accent
#62B0C6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2A4E32

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

Preview Lab → · Contrast checker → · Palette generator →

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