#2A5614#2A5614

#2A5614 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.107 H 137.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2A5614
RGBrgb(42, 86, 20)
HSLhsl(100, 62%, 21%)
HSVhsv(100, 77%, 34%)
CMYKcmyk(51.2%, 0%, 76.7%, 66.3%)
CIE-LABlab(32.25, -28.34, 32.07)
CIE-LCHlch(32.25, 42.80, 131.46°)
OKLaboklab(40.65% -0.0785 0.0727)
OKLCHoklch(40.65% 0.107 137.2)
XYZxyz(4.4088, 7.1980, 1.8187)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5614 #401456
analogous
#4B5614 #2A5614 #14561F
triadic
#2A5614 #142A56 #56142A
tetradic
#2A5614 #144B56 #401456 #561F14
square
#2A5614 #144B56 #401456 #561F14
split-complementary
#2A5614 #1F1456 #56144B
monochromatic
#0C1906 #122408 #2A5614 #428820 #5AB92B

Accessibility & contrast

On white

8.61
#2A5614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A5614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5614
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5614#FFFFFF#000000##FFFFFF
##2A56141.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E09
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#275349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a5614;
/* rgb */ color: rgb(42, 86, 20);
/* oklch */ color: oklch(40.7% 0.107 137.2);
Tailwind
colors: {
  custom: {
    50: '#688656',
    500: '#2a5614',
    950: '#000000',
  },
}
SCSS
$custom: #2a5614;
$custom-light: #688656;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5614",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 100,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40652,
    "c": 0.10699,
    "h": 137.2
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#2A5614
secondary
#71388E
accent
#42E5AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2A5614

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

Preview Lab → · Contrast checker → · Palette generator →

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