#22731A#22731A

#22731A is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.145 H 141.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#22731A
RGBrgb(34, 115, 26)
HSLhsl(115, 63%, 28%)
HSVhsv(115, 77%, 45%)
CMYKcmyk(70.4%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.27, -41.82, 39.69)
CIE-LCHlch(42.27, 57.65, 136.50°)
OKLaboklab(48.86% -0.114 0.0896)
OKLCHoklch(48.86% 0.145 141.8)
XYZxyz(6.9765, 12.6754, 3.0560)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22731A #6B1A73
analogous
#4E731A #22731A #1A733F
triadic
#22731A #1A2273 #731A22
tetradic
#22731A #1A4E73 #6B1A73 #733F1A
square
#22731A #1A4E73 #6B1A73 #733F1A
split-complementary
#22731A #3F1A73 #731A4E
monochromatic
#071906 #13410F #22731A #31A525 #44D236

Accessibility & contrast

On white

5.94
#22731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#22731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22731A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22731A#FFFFFF#000000##FFFFFF
##22731A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#106F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #22731a;
/* rgb */ color: rgb(34, 115, 26);
/* oklch */ color: oklch(48.9% 0.145 141.8);
Tailwind
colors: {
  custom: {
    50: '#6a9c5d',
    500: '#22731a',
    950: '#000000',
  },
}
SCSS
$custom: #22731a;
$custom-light: #6a9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#22731a",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 114.607,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48857,
    "c": 0.14496,
    "h": 141.8
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#22731A
secondary
#9F41A8
accent
#42E6D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #22731A

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

Preview Lab → · Contrast checker → · Palette generator →

#22731A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva