#2A722F#2A722F

#2A722F is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.1% C 0.124 H 144.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2A722F
RGBrgb(42, 114, 47)
HSLhsl(124, 46%, 31%)
HSVhsv(124, 63%, 45%)
CMYKcmyk(63.2%, 0%, 58.8%, 55.3%)
CIE-LABlab(42.36, -37.22, 30.20)
CIE-LCHlch(42.36, 47.93, 140.94°)
OKLaboklab(49.06% -0.1009 0.0718)
OKLCHoklch(49.06% 0.124 144.6)
XYZxyz(7.4848, 12.7314, 4.7517)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A722F #722A6D
analogous
#49722A #2A722F #2A7253
triadic
#2A722F #2F2A72 #722F2A
tetradic
#2A722F #2A4972 #722A6D #72532A
square
#2A722F #2A4972 #722A6D #72532A
split-complementary
#2A722F #532A72 #722A49
monochromatic
#09190A #1A451D #2A722F #3A9F41 #56C15D

Accessibility & contrast

On white

5.92
#2A722F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2A722F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A722F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A722F#FFFFFF#000000##FFFFFF
##2A722F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746829
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#1B6F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a722f;
/* rgb */ color: rgb(42, 114, 47);
/* oklch */ color: oklch(49.1% 0.124 144.6);
Tailwind
colors: {
  custom: {
    50: '#6c9b69',
    500: '#2a722f',
    950: '#000000',
  },
}
SCSS
$custom: #2a722f;
$custom-light: #6c9b69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a722f",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 47
  },
  "hsl": {
    "h": 124.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.12382,
    "h": 144.6
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#2A722F
secondary
#A4549E
accent
#52CDD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2A722F

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

Preview Lab → · Contrast checker → · Palette generator →

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