#22701F#22701F

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

Color values

HEX#22701F
RGBrgb(34, 112, 31)
HSLhsl(118, 57%, 28%)
HSVhsv(118, 72%, 44%)
CMYKcmyk(69.6%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.26, -40.25, 36.59)
CIE-LCHlch(41.26, 54.40, 137.73°)
OKLaboklab(48.03% -0.1095 0.0838)
OKLCHoklch(48.03% 0.138 142.6)
XYZxyz(6.7008, 12.0267, 3.2643)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22701F #6D1F70
analogous
#4A701F #22701F #1F7044
triadic
#22701F #1F2270 #701F22
tetradic
#22701F #1F4A70 #6D1F70 #70441F
square
#22701F #1F4A70 #6D1F70 #70441F
split-complementary
#22701F #441F70 #701F4A
monochromatic
#071807 #134012 #22701F #31A02C #45CA3F

Accessibility & contrast

On white

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

On black

3.41
#22701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22701F#FFFFFF#000000##FFFFFF
##22701F1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736513
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#106D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #22701f;
/* rgb */ color: rgb(34, 112, 31);
/* oklch */ color: oklch(48.0% 0.138 142.6);
Tailwind
colors: {
  custom: {
    50: '#699a5f',
    500: '#22701f',
    950: '#000000',
  },
}
SCSS
$custom: #22701f;
$custom-light: #699a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#22701f",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 117.778,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.13785,
    "h": 142.6
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#22701F
secondary
#A147A4
accent
#48E0DA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #22701F

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

Preview Lab → · Contrast checker → · Palette generator →

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