#2A4028#2A4028

#2A4028 is a dark, muted green. Relative luminance 0.043; OKLCH L 34.6% C 0.049 H 142.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2A4028
RGBrgb(42, 64, 40)
HSLhsl(115, 23%, 20%)
HSVhsv(115, 38%, 25%)
CMYKcmyk(34.4%, 0%, 37.5%, 74.9%)
CIE-LABlab(24.68, -14.37, 12.01)
CIE-LCHlch(24.68, 18.73, 140.11°)
OKLaboklab(34.56% -0.0392 0.0301)
OKLCHoklch(34.56% 0.049 142.5)
XYZxyz(3.1711, 4.3121, 2.6723)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4028 #3E2840
analogous
#364028 #2A4028 #284032
triadic
#2A4028 #282A40 #40282A
tetradic
#2A4028 #283640 #3E2840 #403228
square
#2A4028 #283640 #3E2840 #403228
split-complementary
#2A4028 #322840 #402836
monochromatic
#0C130C #111A10 #2A4028 #436640 #5B8B57

Accessibility & contrast

On white

11.28
#2A4028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A4028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4028
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4028#FFFFFF#000000##FFFFFF
##2A40281.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#3E3A29
Tritanopia (blue-blind)
#283F3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4028;
/* rgb */ color: rgb(42, 64, 40);
/* oklch */ color: oklch(34.6% 0.049 142.5);
Tailwind
colors: {
  custom: {
    50: '#647562',
    500: '#2a4028',
    950: '#000000',
  },
}
SCSS
$custom: #2a4028;
$custom-light: #647562;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4028",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 115,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34562,
    "c": 0.04943,
    "h": 142.5
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#2A4028
secondary
#6F5272
accent
#68C0B8
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#050805
muted
#7A7B79

Preview Lab

Preview with #2A4028

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

Preview Lab → · Contrast checker → · Palette generator →

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