#2A5C15#2A5C15

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

Color values

HEX#2A5C15
RGBrgb(42, 92, 21)
HSLhsl(102, 63%, 22%)
HSVhsv(102, 77%, 36%)
CMYKcmyk(54.3%, 0%, 77.2%, 63.9%)
CIE-LABlab(34.40, -30.92, 33.83)
CIE-LCHlch(34.40, 45.83, 132.42°)
OKLaboklab(42.42% -0.0854 0.0765)
OKLCHoklch(42.42% 0.115 138.1)
XYZxyz(4.9172, 8.2003, 2.0330)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C15 #47155C
analogous
#4D5C15 #2A5C15 #155C24
triadic
#2A5C15 #152A5C #5C152A
tetradic
#2A5C15 #154D5C #47155C #5C2415
square
#2A5C15 #154D5C #47155C #5C2415
split-complementary
#2A5C15 #24155C #5C154D
monochromatic
#0B1906 #132A0A #2A5C15 #418E20 #57C02C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5C15#FFFFFF#000000##FFFFFF
##2A5C151.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)
#5F5309
Deuteranopia (green-blind)
#594F1C
Tritanopia (blue-blind)
#26594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5c15;
/* rgb */ color: rgb(42, 92, 21);
/* oklch */ color: oklch(42.4% 0.115 138.1);
Tailwind
colors: {
  custom: {
    50: '#698b57',
    500: '#2a5c15',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c15;
$custom-light: #698b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c15",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 21
  },
  "hsl": {
    "h": 102.254,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.11467,
    "h": 138.1
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#2A5C15
secondary
#793993
accent
#42E6B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5C15

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

Preview Lab → · Contrast checker → · Palette generator →

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