#22751C#22751C

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

Color values

HEX#22751C
RGBrgb(34, 117, 28)
HSLhsl(116, 61%, 28%)
HSVhsv(116, 76%, 46%)
CMYKcmyk(70.9%, 0%, 76.1%, 54.1%)
CIE-LABlab(42.98, -42.38, 39.62)
CIE-LCHlch(42.98, 58.02, 136.92°)
OKLaboklab(49.45% -0.1154 0.0897)
OKLCHoklch(49.45% 0.146 142.1)
XYZxyz(7.2302, 13.1457, 3.2547)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22751C #6F1C75
analogous
#4E751C #22751C #1C7542
triadic
#22751C #1C2275 #751C22
tetradic
#22751C #1C4E75 #6F1C75 #75421C
square
#22751C #1C4E75 #6F1C75 #75421C
split-complementary
#22751C #421C75 #751C4E
monochromatic
#071906 #144410 #22751C #30A628 #45D03B

Accessibility & contrast

On white

5.79
#22751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #22751C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22751C#FFFFFF#000000##FFFFFF
##22751C1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#0E7164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #22751c;
/* rgb */ color: rgb(34, 117, 28);
/* oklch */ color: oklch(49.5% 0.146 142.1);
Tailwind
colors: {
  custom: {
    50: '#6a9e5e',
    500: '#22751c',
    950: '#000000',
  },
}
SCSS
$custom: #22751c;
$custom-light: #6a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#22751c",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 115.955,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.14617,
    "h": 142.1
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#22751C
secondary
#A244A9
accent
#43E4DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22751C

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

Preview Lab → · Contrast checker → · Palette generator →

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