#2A5913#2A5913

#2A5913 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.112 H 137.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2A5913
RGBrgb(42, 89, 19)
HSLhsl(100, 65%, 21%)
HSVhsv(100, 79%, 35%)
CMYKcmyk(52.8%, 0%, 78.7%, 65.1%)
CIE-LABlab(33.32, -29.77, 33.57)
CIE-LCHlch(33.32, 44.87, 131.56°)
OKLaboklab(41.52% -0.0824 0.0757)
OKLCHoklch(41.52% 0.112 137.5)
XYZxyz(4.6446, 7.6837, 1.8543)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5913 #421359
analogous
#4D5913 #2A5913 #13591F
triadic
#2A5913 #132A59 #59132A
tetradic
#2A5913 #134D59 #421359 #591F13
square
#2A5913 #134D59 #421359 #591F13
split-complementary
#2A5913 #1F1359 #59134D
monochromatic
#0C1905 #122708 #2A5913 #428B1E #5ABE29

Accessibility & contrast

On white

8.28
#2A5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2A5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5913
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5913#FFFFFF#000000##FFFFFF
##2A59131.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#27564B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a5913;
/* rgb */ color: rgb(42, 89, 19);
/* oklch */ color: oklch(41.5% 0.112 137.5);
Tailwind
colors: {
  custom: {
    50: '#698856',
    500: '#2a5913',
    950: '#000000',
  },
}
SCSS
$custom: #2a5913;
$custom-light: #698856;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5913",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 100.286,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.1119,
    "h": 137.5
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#2A5913
secondary
#733791
accent
#40E8B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A5913

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

Preview Lab → · Contrast checker → · Palette generator →

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