#2A5B16#2A5B16

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

Color values

HEX#2A5B16
RGBrgb(42, 91, 22)
HSLhsl(103, 61%, 22%)
HSVhsv(103, 76%, 36%)
CMYKcmyk(53.8%, 0%, 75.8%, 64.3%)
CIE-LABlab(34.05, -30.40, 33.05)
CIE-LCHlch(34.05, 44.90, 132.60°)
OKLaboklab(42.13% -0.0839 0.075)
OKLCHoklch(42.13% 0.113 138.2)
XYZxyz(4.8406, 8.0320, 2.0542)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5B16 #47165B
analogous
#4D5B16 #2A5B16 #165B25
triadic
#2A5B16 #162A5B #5B162A
tetradic
#2A5B16 #164D5B #47165B #5B2516
square
#2A5B16 #164D5B #47165B #5B2516
split-complementary
#2A5B16 #25165B #5B164D
monochromatic
#0B1906 #132A0A #2A5B16 #418C22 #57BE2E

Accessibility & contrast

On white

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

On black

2.61
#2A5B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A5B16#FFFFFF#000000##FFFFFF
##2A5B161.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530B
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#26584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5b16;
/* rgb */ color: rgb(42, 91, 22);
/* oklch */ color: oklch(42.1% 0.113 138.2);
Tailwind
colors: {
  custom: {
    50: '#698a58',
    500: '#2a5b16',
    950: '#000000',
  },
}
SCSS
$custom: #2a5b16;
$custom-light: #698a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5b16",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 102.609,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.11258,
    "h": 138.2
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#2A5B16
secondary
#793B92
accent
#44E4B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5B16

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

Preview Lab → · Contrast checker → · Palette generator →

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