#2A5C13#2A5C13

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

Color values

HEX#2A5C13
RGBrgb(42, 92, 19)
HSLhsl(101, 66%, 22%)
HSVhsv(101, 79%, 36%)
CMYKcmyk(54.3%, 0%, 79.3%, 63.9%)
CIE-LABlab(34.38, -31.08, 34.64)
CIE-LCHlch(34.38, 46.54, 131.90°)
OKLaboklab(42.4% -0.086 0.0779)
OKLCHoklch(42.4% 0.116 137.8)
XYZxyz(4.8994, 8.1932, 1.9392)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5C13 #45135C
analogous
#4F5C13 #2A5C13 #135C21
triadic
#2A5C13 #132A5C #5C132A
tetradic
#2A5C13 #134F5C #45135C #5C2113
square
#2A5C13 #134F5C #45135C #5C2113
split-complementary
#2A5C13 #21135C #5C134F
monochromatic
#0C1905 #132909 #2A5C13 #418F1D #58C128

Accessibility & contrast

On white

7.96
#2A5C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A5C13
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5C13#FFFFFF#000000##FFFFFF
##2A5C131.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a5c13;
/* rgb */ color: rgb(42, 92, 19);
/* oklch */ color: oklch(42.4% 0.116 137.8);
Tailwind
colors: {
  custom: {
    50: '#698b56',
    500: '#2a5c13',
    950: '#000000',
  },
}
SCSS
$custom: #2a5c13;
$custom-light: #698b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5c13",
  "rgb": {
    "r": 42,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 101.096,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42399,
    "c": 0.11602,
    "h": 137.8
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#2A5C13
secondary
#773794
accent
#3FE9B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5C13

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

Preview Lab → · Contrast checker → · Palette generator →

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