#2A5619#2A5619

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

Color values

HEX#2A5619
RGBrgb(42, 86, 25)
HSLhsl(103, 55%, 22%)
HSVhsv(103, 71%, 34%)
CMYKcmyk(51.2%, 0%, 70.9%, 66.3%)
CIE-LABlab(32.30, -27.86, 29.83)
CIE-LCHlch(32.30, 40.82, 133.05°)
OKLaboklab(40.7% -0.0768 0.0687)
OKLCHoklch(40.7% 0.103 138.2)
XYZxyz(4.4579, 7.2177, 2.0778)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5619 #451956
analogous
#495619 #2A5619 #195627
triadic
#2A5619 #192A56 #56192A
tetradic
#2A5619 #194956 #451956 #562719
square
#2A5619 #194956 #451956 #562719
split-complementary
#2A5619 #271956 #561949
monochromatic
#0C1807 #13270B #2A5619 #418527 #58B535

Accessibility & contrast

On white

8.59
#2A5619 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5619
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5619#FFFFFF#000000##FFFFFF
##2A56191.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a5619;
/* rgb */ color: rgb(42, 86, 25);
/* oklch */ color: oklch(40.7% 0.103 138.2);
Tailwind
colors: {
  custom: {
    50: '#688659',
    500: '#2a5619',
    950: '#000000',
  },
}
SCSS
$custom: #2a5619;
$custom-light: #688659;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5619",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 25
  },
  "hsl": {
    "h": 103.279,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.10306,
    "h": 138.2
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

primary
#2A5619
secondary
#773E8C
accent
#4ADEB5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A5619

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

Preview Lab → · Contrast checker → · Palette generator →

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