#2A5E19#2A5E19

#2A5E19 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.115 H 139.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2A5E19
RGBrgb(42, 94, 25)
HSLhsl(105, 58%, 23%)
HSVhsv(105, 73%, 37%)
CMYKcmyk(55.3%, 0%, 73.4%, 63.1%)
CIE-LABlab(35.14, -31.43, 32.86)
CIE-LCHlch(35.14, 45.47, 133.73°)
OKLaboklab(43.04% -0.0865 0.0751)
OKLCHoklch(43.04% 0.115 139)
XYZxyz(5.1328, 8.5674, 2.3027)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E19 #4D195E
analogous
#4C5E19 #2A5E19 #195E2A
triadic
#2A5E19 #192A5E #5E192A
tetradic
#2A5E19 #194C5E #4D195E #5E2A19
square
#2A5E19 #194C5E #4D195E #5E2A19
split-complementary
#2A5E19 #2A195E #5E194C
monochromatic
#0B1806 #142E0C #2A5E19 #408E26 #55BF33

Accessibility & contrast

On white

7.74
#2A5E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A5E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E19
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E19#FFFFFF#000000##FFFFFF
##2A5E191.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#255B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5e19;
/* rgb */ color: rgb(42, 94, 25);
/* oklch */ color: oklch(43.0% 0.115 139.0);
Tailwind
colors: {
  custom: {
    50: '#698c5a',
    500: '#2a5e19',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e19;
$custom-light: #698c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e19",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 105.217,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.11454,
    "h": 139
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#2A5E19
secondary
#7F3F94
accent
#47E1BB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A5E19

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

Preview Lab → · Contrast checker → · Palette generator →

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