#2A4E1D#2A4E1D

#2A4E1D is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.4% C 0.087 H 138.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2A4E1D
RGBrgb(42, 78, 29)
HSLhsl(104, 46%, 21%)
HSVhsv(104, 63%, 31%)
CMYKcmyk(46.2%, 0%, 62.8%, 69.4%)
CIE-LABlab(29.49, -23.59, 24.62)
CIE-LCHlch(29.49, 34.10, 133.78°)
OKLaboklab(38.41% -0.0649 0.0581)
OKLCHoklch(38.41% 0.087 138.2)
XYZxyz(3.9009, 6.0295, 2.1204)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E1D #411D4E
analogous
#424E1D #2A4E1D #1D4E28
triadic
#2A4E1D #1D2A4E #4E1D2A
tetradic
#2A4E1D #1D424E #411D4E #4E281D
square
#2A4E1D #1D424E #411D4E #4E281D
split-complementary
#2A4E1D #281D4E #4E1D42
monochromatic
#0C1608 #12210C #2A4E1D #427B2E #5AA73E

Accessibility & contrast

On white

9.52
#2A4E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E1D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E1D#FFFFFF#000000##FFFFFF
##2A4E1D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504718
Deuteranopia (green-blind)
#4B4421
Tritanopia (blue-blind)
#284B43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4e1d;
/* rgb */ color: rgb(42, 78, 29);
/* oklch */ color: oklch(38.4% 0.087 138.2);
Tailwind
colors: {
  custom: {
    50: '#67805b',
    500: '#2a4e1d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e1d;
$custom-light: #67805b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e1d",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 29
  },
  "hsl": {
    "h": 104.082,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.08708,
    "h": 138.2
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#2A4E1D
secondary
#724483
accent
#52D5B3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2A4E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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