#2A4E2B#2A4E2B

#2A4E2B is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.071 H 144.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2A4E2B
RGBrgb(42, 78, 43)
HSLhsl(122, 30%, 24%)
HSVhsv(122, 46%, 31%)
CMYKcmyk(46.2%, 0%, 44.9%, 69.4%)
CIE-LABlab(29.70, -21.42, 16.76)
CIE-LCHlch(29.70, 27.20, 141.95°)
OKLaboklab(38.66% -0.0583 0.0414)
OKLCHoklch(38.66% 0.072 144.6)
XYZxyz(4.1151, 6.1152, 3.2485)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E2B #4E2A4D
analogous
#3B4E2A #2A4E2B #2A4E3D
triadic
#2A4E2B #2B2A4E #4E2B2A
tetradic
#2A4E2B #2A3B4E #4E2A4D #4E3D2A
square
#2A4E2B #2A3B4E #4E2A4D #4E3D2A
split-complementary
#2A4E2B #3D2A4E #4E2A3B
monochromatic
#0B140B #152615 #2A4E2B #3F7641 #559E57

Accessibility & contrast

On white

9.45
#2A4E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E2B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E2B#FFFFFF#000000##FFFFFF
##2A4E2B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4828
Deuteranopia (green-blind)
#4A452D
Tritanopia (blue-blind)
#254C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e2b;
/* rgb */ color: rgb(42, 78, 43);
/* oklch */ color: oklch(38.7% 0.071 144.6);
Tailwind
colors: {
  custom: {
    50: '#668065',
    500: '#2a4e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e2b;
$custom-light: #668065;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e2b",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 43
  },
  "hsl": {
    "h": 121.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38658,
    "c": 0.0715,
    "h": 144.6
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#2A4E2B
secondary
#80547F
accent
#62C3C6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2A4E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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