#2A4E28#2A4E28

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

Color values

HEX#2A4E28
RGBrgb(42, 78, 40)
HSLhsl(117, 32%, 23%)
HSVhsv(117, 49%, 31%)
CMYKcmyk(46.2%, 0%, 48.7%, 69.4%)
CIE-LABlab(29.65, -21.95, 18.50)
CIE-LCHlch(29.65, 28.71, 139.86°)
OKLaboklab(38.6% -0.0598 0.0453)
OKLCHoklch(38.6% 0.075 142.9)
XYZxyz(4.0621, 6.0940, 2.9693)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E28 #4C284E
analogous
#3D4E28 #2A4E28 #284E39
triadic
#2A4E28 #282A4E #4E282A
tetradic
#2A4E28 #283D4E #4C284E #4E3928
square
#2A4E28 #283D4E #4C284E #4E3928
split-complementary
#2A4E28 #39284E #4E283D
monochromatic
#0B140A #142613 #2A4E28 #40763D #569F51

Accessibility & contrast

On white

9.46
#2A4E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E28
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E28#FFFFFF#000000##FFFFFF
##2A4E281.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4e28;
/* rgb */ color: rgb(42, 78, 40);
/* oklch */ color: oklch(38.6% 0.075 142.9);
Tailwind
colors: {
  custom: {
    50: '#668062',
    500: '#2a4e28',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e28;
$custom-light: #668062;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e28",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 40
  },
  "hsl": {
    "h": 116.842,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38598,
    "c": 0.07502,
    "h": 142.9
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#2A4E28
secondary
#7E5181
accent
#5FC8C3
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2A4E28

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

Preview Lab → · Contrast checker → · Palette generator →

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