#2A5E15#2A5E15

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

Color values

HEX#2A5E15
RGBrgb(42, 94, 21)
HSLhsl(103, 63%, 23%)
HSVhsv(103, 78%, 37%)
CMYKcmyk(55.3%, 0%, 77.7%, 63.1%)
CIE-LABlab(35.11, -31.79, 34.55)
CIE-LCHlch(35.11, 46.95, 132.61°)
OKLaboklab(43% -0.0877 0.078)
OKLCHoklch(43% 0.117 138.4)
XYZxyz(5.0927, 8.5514, 2.0915)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E15 #49155E
analogous
#4E5E15 #2A5E15 #155E25
triadic
#2A5E15 #152A5E #5E152A
tetradic
#2A5E15 #154E5E #49155E #5E2515
square
#2A5E15 #154E5E #49155E #5E2515
split-complementary
#2A5E15 #25155E #5E154E
monochromatic
#0B1906 #142C0A #2A5E15 #409020 #57C22B

Accessibility & contrast

On white

7.75
#2A5E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5E15
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E15#FFFFFF#000000##FFFFFF
##2A5E151.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5e15;
/* rgb */ color: rgb(42, 94, 21);
/* oklch */ color: oklch(43.0% 0.117 138.4);
Tailwind
colors: {
  custom: {
    50: '#6a8c58',
    500: '#2a5e15',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e15;
$custom-light: #6a8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e15",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 102.74,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43,
    "c": 0.11742,
    "h": 138.4
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#2A5E15
secondary
#7B3995
accent
#41E7B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5E15

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

Preview Lab → · Contrast checker → · Palette generator →

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