#2A5F19#2A5F19

#2A5F19 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.116 H 139.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2A5F19
RGBrgb(42, 95, 25)
HSLhsl(105, 58%, 24%)
HSVhsv(105, 74%, 37%)
CMYKcmyk(55.8%, 0%, 73.7%, 62.7%)
CIE-LABlab(35.49, -31.86, 33.23)
CIE-LCHlch(35.49, 46.04, 133.79°)
OKLaboklab(43.33% -0.0877 0.0759)
OKLCHoklch(43.33% 0.116 139.1)
XYZxyz(5.2223, 8.7464, 2.3326)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F19 #4E195F
analogous
#4D5F19 #2A5F19 #195F2B
triadic
#2A5F19 #192A5F #5F192A
tetradic
#2A5F19 #194D5F #4E195F #5F2B19
square
#2A5F19 #194D5F #4E195F #5F2B19
split-complementary
#2A5F19 #2B195F #5F194D
monochromatic
#0B1806 #152F0C #2A5F19 #3F8F26 #55C032

Accessibility & contrast

On white

7.64
#2A5F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2A5F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5F19
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F19#FFFFFF#000000##FFFFFF
##2A5F191.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560F
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5f19;
/* rgb */ color: rgb(42, 95, 25);
/* oklch */ color: oklch(43.3% 0.116 139.1);
Tailwind
colors: {
  custom: {
    50: '#6a8d5a',
    500: '#2a5f19',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f19;
$custom-light: #6a8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f19",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 105.429,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43327,
    "c": 0.11593,
    "h": 139.1
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#2A5F19
secondary
#803F95
accent
#46E2BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2A5F19

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

Preview Lab → · Contrast checker → · Palette generator →

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