#2A5C16#2A5C16

#2A5C16 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.114 H 138.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2A5C16
RGBrgb(42, 92, 22)
HSLhsl(103, 61%, 22%)
HSVhsv(103, 76%, 36%)
CMYKcmyk(54.3%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.40, -30.83, 33.42)
CIE-LCHlch(34.40, 45.47, 132.70°)
OKLaboklab(42.43% -0.0851 0.0758)
OKLCHoklch(42.43% 0.114 138.3)
XYZxyz(4.9266, 8.2041, 2.0828)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C16 #48165C
analogous
#4D5C16 #2A5C16 #165C25
triadic
#2A5C16 #162A5C #5C162A
tetradic
#2A5C16 #164D5C #48165C #5C2516
square
#2A5C16 #164D5C #48165C #5C2516
split-complementary
#2A5C16 #25165C #5C164D
monochromatic
#0B1906 #132B0A #2A5C16 #418D22 #57BF2E

Accessibility & contrast

On white

7.95
#2A5C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5C16
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C16#FFFFFF#000000##FFFFFF
##2A5C161.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540B
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#26594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c16;
/* rgb */ color: rgb(42, 92, 22);
/* oklch */ color: oklch(42.4% 0.114 138.3);
Tailwind
colors: {
  custom: {
    50: '#698b58',
    500: '#2a5c16',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c16;
$custom-light: #698b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c16",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 102.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.11397,
    "h": 138.3
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#2A5C16
secondary
#7A3B93
accent
#43E5B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5C16

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

Preview Lab → · Contrast checker → · Palette generator →

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