#2A4F19#2A4F19

#2A4F19 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.093 H 137.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2A4F19
RGBrgb(42, 79, 25)
HSLhsl(101, 52%, 20%)
HSVhsv(101, 68%, 31%)
CMYKcmyk(46.8%, 0%, 68.4%, 69%)
CIE-LABlab(29.80, -24.56, 27.08)
CIE-LCHlch(29.80, 36.56, 132.21°)
OKLaboklab(38.65% -0.0679 0.0629)
OKLCHoklch(38.65% 0.093 137.2)
XYZxyz(3.9262, 6.1542, 1.9005)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F19 #3E194F
analogous
#454F19 #2A4F19 #194F23
triadic
#2A4F19 #192A4F #4F192A
tetradic
#2A4F19 #19454F #3E194F #4F2319
square
#2A4F19 #19454F #3E194F #4F2319
split-complementary
#2A4F19 #23194F #4F1945
monochromatic
#0C1707 #11210A #2A4F19 #437D28 #5BAC36

Accessibility & contrast

On white

9.41
#2A4F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4F19
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F19#FFFFFF#000000##FFFFFF
##2A4F191.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524813
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#284C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4f19;
/* rgb */ color: rgb(42, 79, 25);
/* oklch */ color: oklch(38.7% 0.093 137.2);
Tailwind
colors: {
  custom: {
    50: '#678058',
    500: '#2a4f19',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f19;
$custom-light: #678058;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f19",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 101.111,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.09252,
    "h": 137.2
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#2A4F19
secondary
#6F3E85
accent
#4CDBAE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4F19

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

Preview Lab → · Contrast checker → · Palette generator →

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