#2A5A13#2A5A13

#2A5A13 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.113 H 137.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2A5A13
RGBrgb(42, 90, 19)
HSLhsl(101, 65%, 21%)
HSVhsv(101, 79%, 35%)
CMYKcmyk(53.3%, 0%, 78.9%, 64.7%)
CIE-LABlab(33.67, -30.21, 33.93)
CIE-LCHlch(33.67, 45.43, 131.68°)
OKLaboklab(41.81% -0.0836 0.0764)
OKLCHoklch(41.81% 0.113 137.6)
XYZxyz(4.7284, 7.8513, 1.8823)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A13 #43135A
analogous
#4E5A13 #2A5A13 #135A20
triadic
#2A5A13 #132A5A #5A132A
tetradic
#2A5A13 #134E5A #43135A #5A2013
square
#2A5A13 #134E5A #43135A #5A2013
split-complementary
#2A5A13 #20135A #5A134E
monochromatic
#0C1905 #122708 #2A5A13 #428D1E #59BF28

Accessibility & contrast

On white

8.17
#2A5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5A13
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A13#FFFFFF#000000##FFFFFF
##2A5A131.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5206
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#27574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a5a13;
/* rgb */ color: rgb(42, 90, 19);
/* oklch */ color: oklch(41.8% 0.113 137.6);
Tailwind
colors: {
  custom: {
    50: '#698956',
    500: '#2a5a13',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a13;
$custom-light: #698956;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a13",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 100.563,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.11328,
    "h": 137.6
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#2A5A13
secondary
#753792
accent
#40E8B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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