#2A4D19#2A4D19

#2A4D19 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.089 H 136.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2A4D19
RGBrgb(42, 77, 25)
HSLhsl(100, 51%, 20%)
HSVhsv(100, 68%, 30%)
CMYKcmyk(45.5%, 0%, 67.5%, 69.8%)
CIE-LABlab(29.08, -23.59, 26.28)
CIE-LCHlch(29.08, 35.32, 131.91°)
OKLaboklab(38.07% -0.0652 0.0612)
OKLCHoklch(38.07% 0.089 136.8)
XYZxyz(3.7841, 5.8700, 1.8531)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D19 #3C194D
analogous
#444D19 #2A4D19 #194D22
triadic
#2A4D19 #192A4D #4D192A
tetradic
#2A4D19 #19444D #3C194D #4D2219
square
#2A4D19 #19444D #3C194D #4D2219
split-complementary
#2A4D19 #22194D #4D1944
monochromatic
#0D1708 #111F0A #2A4D19 #437B28 #5CA937

Accessibility & contrast

On white

9.66
#2A4D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A4D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D19
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D19#FFFFFF#000000##FFFFFF
##2A4D191.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504613
Deuteranopia (green-blind)
#4B431D
Tritanopia (blue-blind)
#284A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4d19;
/* rgb */ color: rgb(42, 77, 25);
/* oklch */ color: oklch(38.1% 0.089 136.8);
Tailwind
colors: {
  custom: {
    50: '#677f58',
    500: '#2a4d19',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d19;
$custom-light: #677f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d19",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 25
  },
  "hsl": {
    "h": 100.385,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.08941,
    "h": 136.8
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#2A4D19
secondary
#6D3E83
accent
#4DDAAC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4D19

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

Preview Lab → · Contrast checker → · Palette generator →

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