#2A5A16#2A5A16

#2A5A16 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.111 H 138.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2A5A16
RGBrgb(42, 90, 22)
HSLhsl(102, 61%, 22%)
HSVhsv(102, 76%, 35%)
CMYKcmyk(53.3%, 0%, 75.6%, 64.7%)
CIE-LABlab(33.69, -29.95, 32.68)
CIE-LCHlch(33.69, 44.33, 132.51°)
OKLaboklab(41.84% -0.0827 0.0743)
OKLCHoklch(41.84% 0.111 138.1)
XYZxyz(4.7557, 7.8622, 2.0259)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5A16 #46165A
analogous
#4C5A16 #2A5A16 #165A24
triadic
#2A5A16 #162A5A #5A162A
tetradic
#2A5A16 #164C5A #46165A #5A2416
square
#2A5A16 #164C5A #46165A #5A2416
split-complementary
#2A5A16 #24165A #5A164C
monochromatic
#0B1906 #13290A #2A5A16 #418B22 #58BC2E

Accessibility & contrast

On white

8.16
#2A5A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A5A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5A16
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5A16#FFFFFF#000000##FFFFFF
##2A5A161.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520B
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#26574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a5a16;
/* rgb */ color: rgb(42, 90, 22);
/* oklch */ color: oklch(41.8% 0.111 138.1);
Tailwind
colors: {
  custom: {
    50: '#698958',
    500: '#2a5a16',
    950: '#000000',
  },
}
SCSS
$custom: #2a5a16;
$custom-light: #698958;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5a16",
  "rgb": {
    "r": 42,
    "g": 90,
    "b": 22
  },
  "hsl": {
    "h": 102.353,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.11118,
    "h": 138.1
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#2A5A16
secondary
#783B91
accent
#44E4B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A5A16

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

Preview Lab → · Contrast checker → · Palette generator →

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