#2A5616#2A5616

#2A5616 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.105 H 137.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2A5616
RGBrgb(42, 86, 22)
HSLhsl(101, 59%, 21%)
HSVhsv(101, 74%, 34%)
CMYKcmyk(51.2%, 0%, 74.4%, 66.3%)
CIE-LABlab(32.27, -28.16, 31.20)
CIE-LCHlch(32.27, 42.03, 132.07°)
OKLaboklab(40.67% -0.0779 0.0712)
OKLCHoklch(40.67% 0.105 137.6)
XYZxyz(4.4273, 7.2054, 1.9164)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5616 #421656
analogous
#4A5616 #2A5616 #165622
triadic
#2A5616 #162A56 #56162A
tetradic
#2A5616 #164A56 #421656 #562216
square
#2A5616 #164A56 #421656 #562216
split-complementary
#2A5616 #221656 #56164A
monochromatic
#0C1806 #12250A #2A5616 #428722 #5AB72F

Accessibility & contrast

On white

8.60
#2A5616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A5616 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5616
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5616#FFFFFF#000000##FFFFFF
##2A56161.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0D
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#275349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a5616;
/* rgb */ color: rgb(42, 86, 22);
/* oklch */ color: oklch(40.7% 0.105 137.6);
Tailwind
colors: {
  custom: {
    50: '#688657',
    500: '#2a5616',
    950: '#000000',
  },
}
SCSS
$custom: #2a5616;
$custom-light: #688657;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5616",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 101.25,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4067,
    "c": 0.10549,
    "h": 137.6
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#2A5616
secondary
#733A8D
accent
#45E2B1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2A5616

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

Preview Lab → · Contrast checker → · Palette generator →

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