#22661B#22661B

#22661B is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.128 H 141.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#22661B
RGBrgb(34, 102, 27)
HSLhsl(114, 58%, 25%)
HSVhsv(114, 74%, 40%)
CMYKcmyk(66.7%, 0%, 73.5%, 60%)
CIE-LABlab(37.70, -36.81, 34.58)
CIE-LCHlch(37.70, 50.51, 136.79°)
OKLaboklab(45.08% -0.1004 0.0791)
OKLCHoklch(45.08% 0.128 141.8)
XYZxyz(5.6086, 9.9214, 2.6562)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22661B #5F1B66
analogous
#47661B #22661B #1B6639
triadic
#22661B #1B2266 #661B22
tetradic
#22661B #1B4766 #5F1B66 #66391B
square
#22661B #1B4766 #5F1B66 #66391B
split-complementary
#22661B #391B66 #661B47
monochromatic
#081806 #12360E #22661B #329628 #42C735

Accessibility & contrast

On white

7.04
#22661B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#22661B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22661B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22661B#FFFFFF#000000##FFFFFF
##22661B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C10
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#166357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #22661b;
/* rgb */ color: rgb(34, 102, 27);
/* oklch */ color: oklch(45.1% 0.128 141.8);
Tailwind
colors: {
  custom: {
    50: '#67925c',
    500: '#22661b',
    950: '#000000',
  },
}
SCSS
$custom: #22661b;
$custom-light: #67925c;
$custom-dark: #000000;
JSON
{
  "hex": "#22661b",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 114.4,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45076,
    "c": 0.12777,
    "h": 141.8
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#22661B
secondary
#93419B
accent
#46E1D3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #22661B

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

Preview Lab → · Contrast checker → · Palette generator →

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