#2A5D16#2A5D16

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

Color values

HEX#2A5D16
RGBrgb(42, 93, 22)
HSLhsl(103, 62%, 23%)
HSVhsv(103, 76%, 36%)
CMYKcmyk(54.8%, 0%, 76.3%, 63.5%)
CIE-LABlab(34.76, -31.27, 33.78)
CIE-LCHlch(34.76, 46.03, 132.79°)
OKLaboklab(42.72% -0.0863 0.0766)
OKLCHoklch(42.72% 0.115 138.4)
XYZxyz(5.0138, 8.3785, 2.1119)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5D16 #49165D
analogous
#4D5D16 #2A5D16 #165D26
triadic
#2A5D16 #162A5D #5D162A
tetradic
#2A5D16 #164D5D #49165D #5D2616
square
#2A5D16 #164D5D #49165D #5D2616
split-complementary
#2A5D16 #26165D #5D164D
monochromatic
#0B1906 #142C0A #2A5D16 #408E22 #57C02D

Accessibility & contrast

On white

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

On black

2.68
#2A5D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A5D16#FFFFFF#000000##FFFFFF
##2A5D161.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540A
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#265A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5d16;
/* rgb */ color: rgb(42, 93, 22);
/* oklch */ color: oklch(42.7% 0.115 138.4);
Tailwind
colors: {
  custom: {
    50: '#698b58',
    500: '#2a5d16',
    950: '#000000',
  },
}
SCSS
$custom: #2a5d16;
$custom-light: #698b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5d16",
  "rgb": {
    "r": 42,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 103.099,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.11535,
    "h": 138.4
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#2A5D16
secondary
#7B3B94
accent
#43E5B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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