#22731D#22731D

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

Color values

HEX#22731D
RGBrgb(34, 115, 29)
HSLhsl(117, 60%, 28%)
HSVhsv(117, 75%, 45%)
CMYKcmyk(70.4%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.29, -41.56, 38.51)
CIE-LCHlch(42.29, 56.66, 137.18°)
OKLaboklab(48.88% -0.1131 0.0876)
OKLCHoklch(48.88% 0.143 142.3)
XYZxyz(7.0118, 12.6895, 3.2420)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22731D #6E1D73
analogous
#4D731D #22731D #1D7343
triadic
#22731D #1D2273 #731D22
tetradic
#22731D #1D4D73 #6E1D73 #73431D
square
#22731D #1D4D73 #6E1D73 #73431D
split-complementary
#22731D #431D73 #731D4D
monochromatic
#071806 #144211 #22731D #30A429 #45CE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22731D#FFFFFF#000000##FFFFFF
##22731D1.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)
#76680F
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#0F6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #22731d;
/* rgb */ color: rgb(34, 115, 29);
/* oklch */ color: oklch(48.9% 0.143 142.3);
Tailwind
colors: {
  custom: {
    50: '#6a9c5f',
    500: '#22731d',
    950: '#000000',
  },
}
SCSS
$custom: #22731d;
$custom-light: #6a9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#22731d",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 116.512,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.14303,
    "h": 142.3
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#22731D
secondary
#A145A7
accent
#45E3DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22731D

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

Preview Lab → · Contrast checker → · Palette generator →

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