#22701B#22701B

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

Color values

HEX#22701B
RGBrgb(34, 112, 27)
HSLhsl(115, 61%, 27%)
HSVhsv(115, 76%, 44%)
CMYKcmyk(69.6%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.23, -40.62, 38.24)
CIE-LCHlch(41.23, 55.79, 136.73°)
OKLaboklab(48% -0.1107 0.0867)
OKLCHoklch(48% 0.141 141.9)
XYZxyz(6.6513, 12.0069, 3.0037)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22701B #691B70
analogous
#4D701B #22701B #1B703F
triadic
#22701B #1B2270 #701B22
tetradic
#22701B #1B4D70 #691B70 #703F1B
square
#22701B #1B4D70 #691B70 #703F1B
split-complementary
#22701B #3F1B70 #701B4D
monochromatic
#071906 #133F0F #22701B #31A127 #43CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22701B#FFFFFF#000000##FFFFFF
##22701B1.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)
#73650C
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#116C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #22701b;
/* rgb */ color: rgb(34, 112, 27);
/* oklch */ color: oklch(48.0% 0.141 141.9);
Tailwind
colors: {
  custom: {
    50: '#699a5d',
    500: '#22701b',
    950: '#000000',
  },
}
SCSS
$custom: #22701b;
$custom-light: #699a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#22701b",
  "rgb": {
    "r": 34,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 115.059,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.1406,
    "h": 141.9
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#22701B
secondary
#9D42A5
accent
#44E4D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #22701B

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

Preview Lab → · Contrast checker → · Palette generator →

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