#2A4E1E#2A4E1E

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

Color values

HEX#2A4E1E
RGBrgb(42, 78, 30)
HSLhsl(105, 44%, 21%)
HSVhsv(105, 62%, 31%)
CMYKcmyk(46.2%, 0%, 61.5%, 69.4%)
CIE-LABlab(29.50, -23.46, 24.08)
CIE-LCHlch(29.50, 33.63, 134.25°)
OKLaboklab(38.43% -0.0645 0.057)
OKLCHoklch(38.43% 0.086 138.5)
XYZxyz(3.9134, 6.0345, 2.1866)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E1E #421E4E
analogous
#424E1E #2A4E1E #1E4E2A
triadic
#2A4E1E #1E2A4E #4E1E2A
tetradic
#2A4E1E #1E424E #421E4E #4E2A1E
square
#2A4E1E #1E424E #421E4E #4E2A1E
split-complementary
#2A4E1E #2A1E4E #4E1E42
monochromatic
#0C1609 #12220D #2A4E1E #427A2F #5AA640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A4E1E#FFFFFF#000000##FFFFFF
##2A4E1E1.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)
#504719
Deuteranopia (green-blind)
#4B4421
Tritanopia (blue-blind)
#284B43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4e1e;
/* rgb */ color: rgb(42, 78, 30);
/* oklch */ color: oklch(38.4% 0.086 138.5);
Tailwind
colors: {
  custom: {
    50: '#66805b',
    500: '#2a4e1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e1e;
$custom-light: #66805b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e1e",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 30
  },
  "hsl": {
    "h": 105,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.38428,
    "c": 0.08606,
    "h": 138.5
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#2A4E1E
secondary
#734583
accent
#54D4B4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2A4E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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