#2A4C19#2A4C19

#2A4C19 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.8% C 0.088 H 136.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2A4C19
RGBrgb(42, 76, 25)
HSLhsl(100, 50%, 20%)
HSVhsv(100, 67%, 30%)
CMYKcmyk(44.7%, 0%, 67.1%, 70.2%)
CIE-LABlab(28.72, -23.09, 25.88)
CIE-LCHlch(28.72, 34.69, 131.74°)
OKLaboklab(37.77% -0.0639 0.0603)
OKLCHoklch(37.77% 0.088 136.6)
XYZxyz(3.7147, 5.7311, 1.8300)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C19 #3B194C
analogous
#444C19 #2A4C19 #194C22
triadic
#2A4C19 #192A4C #4C192A
tetradic
#2A4C19 #19444C #3B194C #4C2219
square
#2A4C19 #19444C #3B194C #4C2219
split-complementary
#2A4C19 #22194C #4C1944
monochromatic
#0D1708 #111E0A #2A4C19 #437A28 #5DA837

Accessibility & contrast

On white

9.78
#2A4C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2A4C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C19
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C19#FFFFFF#000000##FFFFFF
##2A4C191.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4613
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#294941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4c19;
/* rgb */ color: rgb(42, 76, 25);
/* oklch */ color: oklch(37.8% 0.088 136.6);
Tailwind
colors: {
  custom: {
    50: '#667e58',
    500: '#2a4c19',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c19;
$custom-light: #667e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c19",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 100,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37774,
    "c": 0.08784,
    "h": 136.6
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#2A4C19
secondary
#6C3E82
accent
#4EDAAB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4C19

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

Preview Lab → · Contrast checker → · Palette generator →

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