#22751E#22751E

#22751E is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.145 H 142.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#22751E
RGBrgb(34, 117, 30)
HSLhsl(117, 59%, 29%)
HSVhsv(117, 74%, 46%)
CMYKcmyk(70.9%, 0%, 74.4%, 54.1%)
CIE-LABlab(43.00, -42.20, 38.83)
CIE-LCHlch(43.00, 57.35, 137.38°)
OKLaboklab(49.47% -0.1148 0.0884)
OKLCHoklch(49.47% 0.145 142.4)
XYZxyz(7.2549, 13.1556, 3.3850)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22751E #711E75
analogous
#4E751E #22751E #1E7546
triadic
#22751E #1E2275 #751E22
tetradic
#22751E #1E4E75 #711E75 #75461E
square
#22751E #1E4E75 #711E75 #75461E
split-complementary
#22751E #461E75 #751E4E
monochromatic
#071806 #144412 #22751E #30A62A #46CE40

Accessibility & contrast

On white

5.78
#22751E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#22751E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22751E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22751E#FFFFFF#000000##FFFFFF
##22751E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A10
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#0D7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #22751e;
/* rgb */ color: rgb(34, 117, 30);
/* oklch */ color: oklch(49.5% 0.145 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9e5f',
    500: '#22751e',
    950: '#000000',
  },
}
SCSS
$custom: #22751e;
$custom-light: #6a9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#22751e",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 117.241,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.14487,
    "h": 142.4
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#22751E
secondary
#A446A9
accent
#45E2DB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22751E

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

Preview Lab → · Contrast checker → · Palette generator →

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