#22701C#22701C

#22701C is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.140 H 142.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#22701C
RGBrgb(34, 112, 28)
HSLhsl(116, 60%, 27%)
HSVhsv(116, 75%, 44%)
CMYKcmyk(69.6%, 0%, 75%, 56.1%)
CIE-LABlab(41.23, -40.54, 37.84)
CIE-LCHlch(41.23, 55.45, 136.97°)
OKLaboklab(48% -0.1104 0.086)
OKLCHoklch(48% 0.14 142.1)
XYZxyz(6.6631, 12.0116, 3.0657)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22701C #6A1C70
analogous
#4C701C #22701C #1C7040
triadic
#22701C #1C2270 #701C22
tetradic
#22701C #1C4C70 #6A1C70 #70401C
square
#22701C #1C4C70 #6A1C70 #70401C
split-complementary
#22701C #401C70 #701C4C
monochromatic
#071806 #133F10 #22701C #31A128 #44CD39

Accessibility & contrast

On white

6.17
#22701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#22701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22701C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22701C#FFFFFF#000000##FFFFFF
##22701C1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650E
Deuteranopia (green-blind)
#695F24
Tritanopia (blue-blind)
#116C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #22701c;
/* rgb */ color: rgb(34, 112, 28);
/* oklch */ color: oklch(48.0% 0.140 142.1);
Tailwind
colors: {
  custom: {
    50: '#699a5e',
    500: '#22701c',
    950: '#000000',
  },
}
SCSS
$custom: #22701c;
$custom-light: #699a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#22701c",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 115.714,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.13994,
    "h": 142.1
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#22701C
secondary
#9E43A5
accent
#45E3D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22701C

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

Preview Lab → · Contrast checker → · Palette generator →

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