#2A5B19#2A5B19

#2A5B19 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.2% C 0.110 H 138.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2A5B19
RGBrgb(42, 91, 25)
HSLhsl(105, 57%, 23%)
HSVhsv(105, 73%, 36%)
CMYKcmyk(53.8%, 0%, 72.5%, 64.3%)
CIE-LABlab(34.07, -30.11, 31.73)
CIE-LCHlch(34.07, 43.75, 133.50°)
OKLaboklab(42.16% -0.0829 0.0727)
OKLCHoklch(42.16% 0.11 138.8)
XYZxyz(4.8712, 8.0442, 2.2155)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B19 #4A195B
analogous
#4B5B19 #2A5B19 #195B29
triadic
#2A5B19 #192A5B #5B192A
tetradic
#2A5B19 #194B5B #4A195B #5B2919
square
#2A5B19 #194B5B #4A195B #5B2919
split-complementary
#2A5B19 #29195B #5B194B
monochromatic
#0B1807 #142B0C #2A5B19 #408B26 #56BB33

Accessibility & contrast

On white

8.05
#2A5B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A5B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B19
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B19#FFFFFF#000000##FFFFFF
##2A5B191.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5310
Deuteranopia (green-blind)
#574F1F
Tritanopia (blue-blind)
#26584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5b19;
/* rgb */ color: rgb(42, 91, 25);
/* oklch */ color: oklch(42.2% 0.110 138.8);
Tailwind
colors: {
  custom: {
    50: '#698a5a',
    500: '#2a5b19',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b19;
$custom-light: #698a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b19",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 104.545,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42162,
    "c": 0.1103,
    "h": 138.8
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#2A5B19
secondary
#7C3F91
accent
#48E0B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A5B19

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

Preview Lab → · Contrast checker → · Palette generator →

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