#22751D#22751D

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

Color values

HEX#22751D
RGBrgb(34, 117, 29)
HSLhsl(117, 60%, 29%)
HSVhsv(117, 75%, 46%)
CMYKcmyk(70.9%, 0%, 75.2%, 54.1%)
CIE-LABlab(42.99, -42.29, 39.23)
CIE-LCHlch(42.99, 57.68, 137.15°)
OKLaboklab(49.46% -0.1151 0.0891)
OKLCHoklch(49.46% 0.146 142.3)
XYZxyz(7.2423, 13.1506, 3.3188)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22751D #701D75
analogous
#4E751D #22751D #1D7544
triadic
#22751D #1D2275 #751D22
tetradic
#22751D #1D4E75 #701D75 #75441D
square
#22751D #1D4E75 #701D75 #75441D
split-complementary
#22751D #441D75 #751D4E
monochromatic
#071906 #144411 #22751D #30A629 #46CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22751D#FFFFFF#000000##FFFFFF
##22751D1.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)
#786A0E
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#0E7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #22751d;
/* rgb */ color: rgb(34, 117, 29);
/* oklch */ color: oklch(49.5% 0.146 142.3);
Tailwind
colors: {
  custom: {
    50: '#6a9e5f',
    500: '#22751d',
    950: '#000000',
  },
}
SCSS
$custom: #22751d;
$custom-light: #6a9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#22751d",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 116.591,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4946,
    "c": 0.14553,
    "h": 142.3
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#22751D
secondary
#A345A9
accent
#44E3DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22751D

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

Preview Lab → · Contrast checker → · Palette generator →

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