#2A722D#2A722D

#2A722D is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.126 H 144.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2A722D
RGBrgb(42, 114, 45)
HSLhsl(123, 46%, 31%)
HSVhsv(123, 63%, 45%)
CMYKcmyk(63.2%, 0%, 60.5%, 55.3%)
CIE-LABlab(42.33, -37.49, 31.20)
CIE-LCHlch(42.33, 48.77, 140.23°)
OKLaboklab(49.03% -0.1017 0.0738)
OKLCHoklch(49.03% 0.126 144)
XYZxyz(7.4454, 12.7156, 4.5441)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A722D #722A6F
analogous
#4B722A #2A722D #2A7251
triadic
#2A722D #2D2A72 #722D2A
tetradic
#2A722D #2A4B72 #722A6F #72512A
square
#2A722D #2A4B72 #722A6F #72512A
split-complementary
#2A722D #512A72 #722A4B
monochromatic
#09190A #1A451B #2A722D #3A9F3F #56C15A

Accessibility & contrast

On white

5.93
#2A722D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2A722D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A722D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A722D#FFFFFF#000000##FFFFFF
##2A722D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746826
Deuteranopia (green-blind)
#6B6232
Tritanopia (blue-blind)
#1C6F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a722d;
/* rgb */ color: rgb(42, 114, 45);
/* oklch */ color: oklch(49.0% 0.126 144.0);
Tailwind
colors: {
  custom: {
    50: '#6c9b68',
    500: '#2a722d',
    950: '#000000',
  },
}
SCSS
$custom: #2a722d;
$custom-light: #6c9b68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a722d",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 45
  },
  "hsl": {
    "h": 122.5,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4903,
    "c": 0.12567,
    "h": 144
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#2A722D
secondary
#A454A1
accent
#52D0D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A722D

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

Preview Lab → · Contrast checker → · Palette generator →

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