#2A5E13#2A5E13

#2A5E13 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.119 H 138.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2A5E13
RGBrgb(42, 94, 19)
HSLhsl(102, 66%, 22%)
HSVhsv(102, 80%, 37%)
CMYKcmyk(55.3%, 0%, 79.8%, 63.1%)
CIE-LABlab(35.09, -31.94, 35.34)
CIE-LCHlch(35.09, 47.64, 132.11°)
OKLaboklab(42.98% -0.0883 0.0794)
OKLCHoklch(42.98% 0.119 138.1)
XYZxyz(5.0749, 8.5443, 1.9978)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5E13 #47135E
analogous
#505E13 #2A5E13 #135E22
triadic
#2A5E13 #132A5E #5E132A
tetradic
#2A5E13 #13505E #47135E #5E2213
square
#2A5E13 #13505E #47135E #5E2213
split-complementary
#2A5E13 #22135E #5E1350
monochromatic
#0B1905 #132B09 #2A5E13 #41911D #57C428

Accessibility & contrast

On white

7.75
#2A5E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A5E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5E13
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5E13#FFFFFF#000000##FFFFFF
##2A5E131.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#265A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5e13;
/* rgb */ color: rgb(42, 94, 19);
/* oklch */ color: oklch(43.0% 0.119 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a8c57',
    500: '#2a5e13',
    950: '#000000',
  },
}
SCSS
$custom: #2a5e13;
$custom-light: #6a8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5e13",
  "rgb": {
    "r": 42,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 101.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42984,
    "c": 0.11874,
    "h": 138.1
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#2A5E13
secondary
#793796
accent
#3FE9B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5E13

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

Preview Lab → · Contrast checker → · Palette generator →

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