#2A5C19#2A5C19

#2A5C19 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.5% C 0.112 H 138.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2A5C19
RGBrgb(42, 92, 25)
HSLhsl(105, 57%, 23%)
HSVhsv(105, 73%, 36%)
CMYKcmyk(54.3%, 0%, 72.8%, 63.9%)
CIE-LABlab(34.43, -30.56, 32.11)
CIE-LCHlch(34.43, 44.33, 133.58°)
OKLaboklab(42.45% -0.0841 0.0735)
OKLCHoklch(42.45% 0.112 138.9)
XYZxyz(4.9573, 8.2164, 2.2442)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C19 #4B195C
analogous
#4B5C19 #2A5C19 #195C29
triadic
#2A5C19 #192A5C #5C192A
tetradic
#2A5C19 #194B5C #4B195C #5C2919
square
#2A5C19 #194B5C #4B195C #5C2919
split-complementary
#2A5C19 #29195C #5C194B
monochromatic
#0B1807 #142C0C #2A5C19 #408C26 #56BC33

Accessibility & contrast

On white

7.94
#2A5C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A5C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5C19
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C19#FFFFFF#000000##FFFFFF
##2A5C191.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5410
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#26594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c19;
/* rgb */ color: rgb(42, 92, 25);
/* oklch */ color: oklch(42.5% 0.112 138.9);
Tailwind
colors: {
  custom: {
    50: '#698b5a',
    500: '#2a5c19',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c19;
$custom-light: #698b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c19",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 104.776,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.11172,
    "h": 138.9
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#2A5C19
secondary
#7D3F92
accent
#47E1BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A5C19

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

Preview Lab → · Contrast checker → · Palette generator →

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