#22761F#22761F

#22761F is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.145 H 142.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#22761F
RGBrgb(34, 118, 31)
HSLhsl(118, 58%, 29%)
HSVhsv(118, 74%, 46%)
CMYKcmyk(71.2%, 0%, 73.7%, 53.7%)
CIE-LABlab(43.35, -42.47, 38.79)
CIE-LCHlch(43.35, 57.52, 137.60°)
OKLaboklab(49.77% -0.1155 0.0884)
OKLCHoklch(49.77% 0.145 142.6)
XYZxyz(7.3850, 13.3951, 3.4924)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22761F #731F76
analogous
#4E761F #22761F #1F7648
triadic
#22761F #1F2276 #761F22
tetradic
#22761F #1F4E76 #731F76 #76481F
square
#22761F #1F4E76 #731F76 #76481F
split-complementary
#22761F #481F76 #761F4E
monochromatic
#071806 #144612 #22761F #30A62C #47CD42

Accessibility & contrast

On white

5.71
#22761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#22761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22761F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22761F#FFFFFF#000000##FFFFFF
##22761F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#0C7265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #22761f;
/* rgb */ color: rgb(34, 118, 31);
/* oklch */ color: oklch(49.8% 0.145 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9e60',
    500: '#22761f',
    950: '#000000',
  },
}
SCSS
$custom: #22761f;
$custom-light: #6a9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#22761f",
  "rgb": {
    "r": 34,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 117.931,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.14543,
    "h": 142.6
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#22761F
secondary
#A647AA
accent
#46E2DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22761F

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

Preview Lab → · Contrast checker → · Palette generator →

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