#2A5613#2A5613

#2A5613 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.6% C 0.108 H 137.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2A5613
RGBrgb(42, 86, 19)
HSLhsl(99, 64%, 21%)
HSVhsv(99, 78%, 34%)
CMYKcmyk(51.2%, 0%, 77.9%, 66.3%)
CIE-LABlab(32.25, -28.42, 32.49)
CIE-LCHlch(32.25, 43.17, 131.18°)
OKLaboklab(40.64% -0.0788 0.0734)
OKLCHoklch(40.64% 0.108 137)
XYZxyz(4.4000, 7.1945, 1.7728)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5613 #3F1356
analogous
#4B5613 #2A5613 #13561D
triadic
#2A5613 #132A56 #56132A
tetradic
#2A5613 #134B56 #3F1356 #561D13
square
#2A5613 #134B56 #3F1356 #561D13
split-complementary
#2A5613 #1D1356 #56134B
monochromatic
#0C1906 #122408 #2A5613 #42881E #5BBA29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A5613#FFFFFF#000000##FFFFFF
##2A56131.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)
#594E08
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#285349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a5613;
/* rgb */ color: rgb(42, 86, 19);
/* oklch */ color: oklch(40.6% 0.108 137.0);
Tailwind
colors: {
  custom: {
    50: '#688656',
    500: '#2a5613',
    950: '#000000',
  },
}
SCSS
$custom: #2a5613;
$custom-light: #688656;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5613",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 19
  },
  "hsl": {
    "h": 99.403,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40643,
    "c": 0.10771,
    "h": 137
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#2A5613
secondary
#70368E
accent
#41E7AE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2A5613

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

Preview Lab → · Contrast checker → · Palette generator →

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