#22751B#22751B

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

Color values

HEX#22751B
RGBrgb(34, 117, 27)
HSLhsl(115, 63%, 28%)
HSVhsv(115, 77%, 46%)
CMYKcmyk(70.9%, 0%, 76.9%, 54.1%)
CIE-LABlab(42.97, -42.46, 40.01)
CIE-LCHlch(42.97, 58.34, 136.70°)
OKLaboklab(49.44% -0.1157 0.0904)
OKLCHoklch(49.44% 0.147 142)
XYZxyz(7.2184, 13.1410, 3.1928)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22751B #6E1B75
analogous
#4F751B #22751B #1B7541
triadic
#22751B #1B2275 #751B22
tetradic
#22751B #1B4F75 #6E1B75 #75411B
square
#22751B #1B4F75 #6E1B75 #75411B
split-complementary
#22751B #411B75 #751B4F
monochromatic
#071906 #144310 #22751B #30A726 #45D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22751B#FFFFFF#000000##FFFFFF
##22751B1.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)
#786A0A
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#0E7164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #22751b;
/* rgb */ color: rgb(34, 117, 27);
/* oklch */ color: oklch(49.4% 0.147 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9e5e',
    500: '#22751b',
    950: '#000000',
  },
}
SCSS
$custom: #22751b;
$custom-light: #6a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#22751b",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 115.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.1468,
    "h": 142
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22751B

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

Preview Lab → · Contrast checker → · Palette generator →

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