#2A4E19#2A4E19

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

Color values

HEX#2A4E19
RGBrgb(42, 78, 25)
HSLhsl(101, 51%, 20%)
HSVhsv(101, 68%, 31%)
CMYKcmyk(46.2%, 0%, 67.9%, 69.4%)
CIE-LABlab(29.44, -24.08, 26.68)
CIE-LCHlch(29.44, 35.94, 132.06°)
OKLaboklab(38.36% -0.0665 0.062)
OKLCHoklch(38.36% 0.091 137)
XYZxyz(3.8546, 6.0110, 1.8766)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E19 #3D194E
analogous
#444E19 #2A4E19 #194E23
triadic
#2A4E19 #192A4E #4E192A
tetradic
#2A4E19 #19444E #3D194E #4E2319
square
#2A4E19 #19444E #3D194E #4E2319
split-complementary
#2A4E19 #23194E #4E1944
monochromatic
#0C1707 #11200A #2A4E19 #437C28 #5CAB37

Accessibility & contrast

On white

9.54
#2A4E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A4E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E19
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E19#FFFFFF#000000##FFFFFF
##2A4E191.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4e19;
/* rgb */ color: rgb(42, 78, 25);
/* oklch */ color: oklch(38.4% 0.091 137.0);
Tailwind
colors: {
  custom: {
    50: '#678058',
    500: '#2a4e19',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e19;
$custom-light: #678058;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e19",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 100.755,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3836,
    "c": 0.09097,
    "h": 137
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#2A4E19
secondary
#6E3E84
accent
#4DDBAD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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