#2A5618#2A5618

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

Color values

HEX#2A5618
RGBrgb(42, 86, 24)
HSLhsl(103, 56%, 22%)
HSVhsv(103, 72%, 34%)
CMYKcmyk(51.2%, 0%, 72.1%, 66.3%)
CIE-LABlab(32.29, -27.96, 30.29)
CIE-LCHlch(32.29, 41.23, 132.71°)
OKLaboklab(40.69% -0.0772 0.0695)
OKLCHoklch(40.69% 0.104 138)
XYZxyz(4.4474, 7.2135, 2.0220)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5618 #441856
analogous
#495618 #2A5618 #185625
triadic
#2A5618 #182A56 #56182A
tetradic
#2A5618 #184956 #441856 #562518
square
#2A5618 #184956 #441856 #562518
split-complementary
#2A5618 #251856 #561849
monochromatic
#0C1807 #13260B #2A5618 #418625 #59B633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5618#FFFFFF#000000##FFFFFF
##2A56181.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)
#594E10
Deuteranopia (green-blind)
#534B1D
Tritanopia (blue-blind)
#275349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a5618;
/* rgb */ color: rgb(42, 86, 24);
/* oklch */ color: oklch(40.7% 0.104 138.0);
Tailwind
colors: {
  custom: {
    50: '#688658',
    500: '#2a5618',
    950: '#000000',
  },
}
SCSS
$custom: #2a5618;
$custom-light: #688658;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5618",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 102.581,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40691,
    "c": 0.10389,
    "h": 138
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#2A5618
secondary
#763D8D
accent
#48E0B4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2A5618

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

Preview Lab → · Contrast checker → · Palette generator →

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