#22751F#22751F

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

Color values

HEX#22751F
RGBrgb(34, 117, 31)
HSLhsl(118, 58%, 29%)
HSVhsv(118, 74%, 46%)
CMYKcmyk(70.9%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.00, -42.11, 38.42)
CIE-LCHlch(43.00, 57.00, 137.62°)
OKLaboklab(49.48% -0.1145 0.0876)
OKLCHoklch(49.48% 0.144 142.6)
XYZxyz(7.2679, 13.1608, 3.4533)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22751F #721F75
analogous
#4D751F #22751F #1F7547
triadic
#22751F #1F2275 #751F22
tetradic
#22751F #1F4D75 #721F75 #75471F
square
#22751F #1F4D75 #721F75 #75471F
split-complementary
#22751F #471F75 #751F4D
monochromatic
#071806 #144512 #22751F #30A52C #46CD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22751F#FFFFFF#000000##FFFFFF
##22751F1.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)
#786A11
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#0D7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #22751f;
/* rgb */ color: rgb(34, 117, 31);
/* oklch */ color: oklch(49.5% 0.144 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9e60',
    500: '#22751f',
    950: '#000000',
  },
}
SCSS
$custom: #22751f;
$custom-light: #6a9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#22751f",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 117.907,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.14418,
    "h": 142.6
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#22751F
secondary
#A547A9
accent
#46E1DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22751F

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

Preview Lab → · Contrast checker → · Palette generator →

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