#2A4E25#2A4E25

#2A4E25 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.078 H 141.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2A4E25
RGBrgb(42, 78, 37)
HSLhsl(113, 36%, 23%)
HSVhsv(113, 53%, 31%)
CMYKcmyk(46.2%, 0%, 52.6%, 69.4%)
CIE-LABlab(29.60, -22.44, 20.22)
CIE-LCHlch(29.60, 30.21, 137.98°)
OKLaboklab(38.54% -0.0613 0.049)
OKLCHoklch(38.54% 0.078 141.3)
XYZxyz(4.0130, 6.0743, 2.7109)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E25 #49254E
analogous
#3E4E25 #2A4E25 #254E35
triadic
#2A4E25 #252A4E #4E252A
tetradic
#2A4E25 #253E4E #49254E #4E3525
square
#2A4E25 #253E4E #49254E #4E3525
split-complementary
#2A4E25 #35254E #4E253E
monochromatic
#0B150A #142411 #2A4E25 #407839 #57A14C

Accessibility & contrast

On white

9.48
#2A4E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E25
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E25#FFFFFF#000000##FFFFFF
##2A4E251.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504822
Deuteranopia (green-blind)
#4B4428
Tritanopia (blue-blind)
#274C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e25;
/* rgb */ color: rgb(42, 78, 37);
/* oklch */ color: oklch(38.5% 0.078 141.3);
Tailwind
colors: {
  custom: {
    50: '#668060',
    500: '#2a4e25',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e25;
$custom-light: #668060;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e25",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 37
  },
  "hsl": {
    "h": 112.683,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.38542,
    "c": 0.07845,
    "h": 141.3
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#2A4E25
secondary
#7B4E81
accent
#5CCCBE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2A4E25

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

Preview Lab → · Contrast checker → · Palette generator →

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