#2A4E20#2A4E20

#2A4E20 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.5% C 0.084 H 139.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2A4E20
RGBrgb(42, 78, 32)
HSLhsl(107, 42%, 22%)
HSVhsv(107, 59%, 31%)
CMYKcmyk(46.2%, 0%, 59%, 69.4%)
CIE-LABlab(29.53, -23.19, 23.00)
CIE-LCHlch(29.53, 32.67, 135.23°)
OKLaboklab(38.46% -0.0636 0.0548)
OKLCHoklch(38.46% 0.084 139.2)
XYZxyz(3.9398, 6.0451, 2.3254)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E20 #44204E
analogous
#414E20 #2A4E20 #204E2D
triadic
#2A4E20 #202A4E #4E202A
tetradic
#2A4E20 #20414E #44204E #4E2D20
square
#2A4E20 #20414E #44204E #4E2D20
split-complementary
#2A4E20 #2D204E #4E2041
monochromatic
#0C1609 #13230E #2A4E20 #417932 #59A544

Accessibility & contrast

On white

9.51
#2A4E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A4E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E20
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E20#FFFFFF#000000##FFFFFF
##2A4E201.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481C
Deuteranopia (green-blind)
#4B4423
Tritanopia (blue-blind)
#274B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e20;
/* rgb */ color: rgb(42, 78, 32);
/* oklch */ color: oklch(38.5% 0.084 139.2);
Tailwind
colors: {
  custom: {
    50: '#66805d',
    500: '#2a4e20',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e20;
$custom-light: #66805d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e20",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 32
  },
  "hsl": {
    "h": 106.957,
    "s": 41.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.08397,
    "h": 139.2
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#2A4E20
secondary
#764782
accent
#56D2B7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2A4E20

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

Preview Lab → · Contrast checker → · Palette generator →

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