#2A4E24#2A4E24

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

Color values

HEX#2A4E24
RGBrgb(42, 78, 36)
HSLhsl(111, 37%, 22%)
HSVhsv(111, 54%, 31%)
CMYKcmyk(46.2%, 0%, 53.8%, 69.4%)
CIE-LABlab(29.58, -22.60, 20.78)
CIE-LCHlch(29.58, 30.70, 137.40°)
OKLaboklab(38.52% -0.0617 0.0502)
OKLCHoklch(38.52% 0.08 140.9)
XYZxyz(3.9975, 6.0682, 2.6294)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E24 #48244E
analogous
#3F4E24 #2A4E24 #244E33
triadic
#2A4E24 #242A4E #4E242A
tetradic
#2A4E24 #243F4E #48244E #4E3324
square
#2A4E24 #243F4E #48244E #4E3324
split-complementary
#2A4E24 #33244E #4E243F
monochromatic
#0B150A #132411 #2A4E24 #417837 #57A24B

Accessibility & contrast

On white

9.49
#2A4E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E24
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E24#FFFFFF#000000##FFFFFF
##2A4E241.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4e24;
/* rgb */ color: rgb(42, 78, 36);
/* oklch */ color: oklch(38.5% 0.080 140.9);
Tailwind
colors: {
  custom: {
    50: '#66805f',
    500: '#2a4e24',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e24;
$custom-light: #66805f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e24",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 36
  },
  "hsl": {
    "h": 111.429,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.38524,
    "c": 0.07959,
    "h": 140.9
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#2A4E24
secondary
#7A4C81
accent
#5BCDBD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2A4E24

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

Preview Lab → · Contrast checker → · Palette generator →

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