#22731E#22731E

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

Color values

HEX#22731E
RGBrgb(34, 115, 30)
HSLhsl(117, 59%, 28%)
HSVhsv(117, 74%, 45%)
CMYKcmyk(70.4%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.30, -41.46, 38.11)
CIE-LCHlch(42.30, 56.32, 137.41°)
OKLaboklab(48.89% -0.1128 0.0868)
OKLCHoklch(48.89% 0.142 142.4)
XYZxyz(7.0244, 12.6946, 3.3082)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22731E #6F1E73
analogous
#4C731E #22731E #1E7344
triadic
#22731E #1E2273 #731E22
tetradic
#22731E #1E4C73 #6F1E73 #73441E
square
#22731E #1E4C73 #6F1E73 #73441E
split-complementary
#22731E #441E73 #731E4C
monochromatic
#071806 #144211 #22731E #30A42B #45CD3F

Accessibility & contrast

On white

5.93
#22731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #22731E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

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

Design tokens & code

CSS
--color: #22731e;
/* rgb */ color: rgb(34, 115, 30);
/* oklch */ color: oklch(48.9% 0.142 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9c5f',
    500: '#22731e',
    950: '#000000',
  },
}
SCSS
$custom: #22731e;
$custom-light: #6a9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#22731e",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 117.176,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4889,
    "c": 0.14236,
    "h": 142.4
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#22731E
secondary
#A246A7
accent
#46E2DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22731E

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

Preview Lab → · Contrast checker → · Palette generator →

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