#2A5B13#2A5B13

#2A5B13 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.115 H 137.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2A5B13
RGBrgb(42, 91, 19)
HSLhsl(101, 65%, 22%)
HSVhsv(101, 79%, 36%)
CMYKcmyk(53.8%, 0%, 79.1%, 64.3%)
CIE-LABlab(34.03, -30.65, 34.28)
CIE-LCHlch(34.03, 45.98, 131.80°)
OKLaboklab(42.11% -0.0848 0.0772)
OKLCHoklch(42.11% 0.115 137.7)
XYZxyz(4.8133, 8.0211, 1.9106)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B13 #44135B
analogous
#4E5B13 #2A5B13 #135B20
triadic
#2A5B13 #132A5B #5B132A
tetradic
#2A5B13 #134E5B #44135B #5B2013
square
#2A5B13 #134E5B #44135B #5B2013
split-complementary
#2A5B13 #20135B #5B134E
monochromatic
#0C1905 #132808 #2A5B13 #418E1E #59C028

Accessibility & contrast

On white

8.06
#2A5B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2A5B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5B13
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5B13#FFFFFF#000000##FFFFFF
##2A5B131.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5306
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#27584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5b13;
/* rgb */ color: rgb(42, 91, 19);
/* oklch */ color: oklch(42.1% 0.115 137.7);
Tailwind
colors: {
  custom: {
    50: '#698a56',
    500: '#2a5b13',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b13;
$custom-light: #698a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b13",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 100.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.11466,
    "h": 137.7
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#2A5B13
secondary
#763793
accent
#3FE8B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5B13

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

Preview Lab → · Contrast checker → · Palette generator →

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