#22741B#22741B

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

Color values

HEX#22741B
RGBrgb(34, 116, 27)
HSLhsl(115, 62%, 28%)
HSVhsv(115, 77%, 45%)
CMYKcmyk(70.7%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.63, -42.10, 39.66)
CIE-LCHlch(42.63, 57.83, 136.71°)
OKLaboklab(49.15% -0.1147 0.0897)
OKLCHoklch(49.15% 0.146 142)
XYZxyz(7.1025, 12.9092, 3.1541)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22741B #6D1B74
analogous
#4E741B #22741B #1B7440
triadic
#22741B #1B2274 #741B22
tetradic
#22741B #1B4E74 #6D1B74 #74401B
square
#22741B #1B4E74 #6D1B74 #74401B
split-complementary
#22741B #401B74 #741B4E
monochromatic
#071906 #13420F #22741B #31A627 #45D139

Accessibility & contrast

On white

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

On black

3.58
#22741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22741B#FFFFFF#000000##FFFFFF
##22741B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#0F7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #22741b;
/* rgb */ color: rgb(34, 116, 27);
/* oklch */ color: oklch(49.2% 0.146 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9d5e',
    500: '#22741b',
    950: '#000000',
  },
}
SCSS
$custom: #22741b;
$custom-light: #6a9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#22741b",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 115.281,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.14558,
    "h": 142
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#22741B
secondary
#A142A9
accent
#42E5D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22741B

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

Preview Lab → · Contrast checker → · Palette generator →

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