#2A5D13#2A5D13

#2A5D13 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.117 H 137.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2A5D13
RGBrgb(42, 93, 19)
HSLhsl(101, 66%, 22%)
HSVhsv(101, 80%, 36%)
CMYKcmyk(54.8%, 0%, 79.6%, 63.5%)
CIE-LABlab(34.74, -31.51, 34.99)
CIE-LCHlch(34.74, 47.09, 132.01°)
OKLaboklab(42.69% -0.0872 0.0786)
OKLCHoklch(42.69% 0.117 137.9)
XYZxyz(4.9866, 8.3676, 1.9683)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D13 #46135D
analogous
#4F5D13 #2A5D13 #135D21
triadic
#2A5D13 #132A5D #5D132A
tetradic
#2A5D13 #134F5D #46135D #5D2113
square
#2A5D13 #134F5D #46135D #5D2113
split-complementary
#2A5D13 #21135D #5D134F
monochromatic
#0B1905 #132A09 #2A5D13 #41901D #58C328

Accessibility & contrast

On white

7.85
#2A5D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A5D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5D13
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5D13#FFFFFF#000000##FFFFFF
##2A5D131.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#26594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5d13;
/* rgb */ color: rgb(42, 93, 19);
/* oklch */ color: oklch(42.7% 0.117 137.9);
Tailwind
colors: {
  custom: {
    50: '#6a8b57',
    500: '#2a5d13',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d13;
$custom-light: #6a8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d13",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 101.351,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.11738,
    "h": 137.9
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#2A5D13
secondary
#783795
accent
#3FE9B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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