#22741F#22741F

#22741F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.143 H 142.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#22741F
RGBrgb(34, 116, 31)
HSLhsl(118, 58%, 29%)
HSVhsv(118, 73%, 45%)
CMYKcmyk(70.7%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.66, -41.74, 38.06)
CIE-LCHlch(42.66, 56.49, 137.64°)
OKLaboklab(49.19% -0.1135 0.0869)
OKLCHoklch(49.19% 0.143 142.6)
XYZxyz(7.1520, 12.9290, 3.4147)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22741F #711F74
analogous
#4D741F #22741F #1F7447
triadic
#22741F #1F2274 #741F22
tetradic
#22741F #1F4D74 #711F74 #74471F
square
#22741F #1F4D74 #711F74 #74471F
split-complementary
#22741F #471F74 #741F4D
monochromatic
#071806 #144412 #22741F #30A42C #46CC41

Accessibility & contrast

On white

5.86
#22741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#22741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22741F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22741F#FFFFFF#000000##FFFFFF
##22741F1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#0E7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #22741f;
/* rgb */ color: rgb(34, 116, 31);
/* oklch */ color: oklch(49.2% 0.143 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9d60',
    500: '#22741f',
    950: '#000000',
  },
}
SCSS
$custom: #22741f;
$custom-light: #6a9d60;
$custom-dark: #000000;
JSON
{
  "hex": "#22741f",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 117.882,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.14293,
    "h": 142.6
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#22741F
secondary
#A447A8
accent
#47E1DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22741F

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

Preview Lab → · Contrast checker → · Palette generator →

#22741F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva