#2A4E2D#2A4E2D

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

Color values

HEX#2A4E2D
RGBrgb(42, 78, 45)
HSLhsl(125, 30%, 24%)
HSVhsv(125, 46%, 31%)
CMYKcmyk(46.2%, 0%, 42.3%, 69.4%)
CIE-LABlab(29.74, -21.05, 15.59)
CIE-LCHlch(29.74, 26.19, 143.46°)
OKLaboklab(38.7% -0.0573 0.0387)
OKLCHoklch(38.7% 0.069 145.9)
XYZxyz(4.1527, 6.1302, 3.4465)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E2D #4E2A4B
analogous
#394E2A #2A4E2D #2A4E3F
triadic
#2A4E2D #2D2A4E #4E2D2A
tetradic
#2A4E2D #2A394E #4E2A4B #4E3F2A
square
#2A4E2D #2A394E #4E2A4B #4E3F2A
split-complementary
#2A4E2D #3F2A4E #4E2A39
monochromatic
#0B140B #152616 #2A4E2D #3F7644 #559E5B

Accessibility & contrast

On white

9.43
#2A4E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2A4E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E2D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E2D#FFFFFF#000000##FFFFFF
##2A4E2D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482B
Deuteranopia (green-blind)
#4A452F
Tritanopia (blue-blind)
#254C46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4e2d;
/* rgb */ color: rgb(42, 78, 45);
/* oklch */ color: oklch(38.7% 0.069 145.9);
Tailwind
colors: {
  custom: {
    50: '#668066',
    500: '#2a4e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e2d;
$custom-light: #668066;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e2d",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 125,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.06915,
    "h": 145.9
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#2A4E2D
secondary
#80547C
accent
#62BEC6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2A4E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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