#22661C#22661C

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

Color values

HEX#22661C
RGBrgb(34, 102, 28)
HSLhsl(115, 57%, 25%)
HSVhsv(115, 73%, 40%)
CMYKcmyk(66.7%, 0%, 72.5%, 60%)
CIE-LABlab(37.71, -36.71, 34.15)
CIE-LCHlch(37.71, 50.14, 137.07°)
OKLaboklab(45.08% -0.1 0.0783)
OKLCHoklch(45.08% 0.127 142)
XYZxyz(5.6204, 9.9261, 2.7181)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22661C #601C66
analogous
#47661C #22661C #1C663B
triadic
#22661C #1C2266 #661C22
tetradic
#22661C #1C4766 #601C66 #663B1C
square
#22661C #1C4766 #601C66 #663B1C
split-complementary
#22661C #3B1C66 #661C47
monochromatic
#081807 #12360F #22661C #329629 #42C636

Accessibility & contrast

On white

7.03
#22661C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#22661C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22661C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22661C#FFFFFF#000000##FFFFFF
##22661C1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22661c;
/* rgb */ color: rgb(34, 102, 28);
/* oklch */ color: oklch(45.1% 0.127 142.0);
Tailwind
colors: {
  custom: {
    50: '#67925c',
    500: '#22661c',
    950: '#000000',
  },
}
SCSS
$custom: #22661c;
$custom-light: #67925c;
$custom-dark: #000000;
JSON
{
  "hex": "#22661c",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 115.135,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.12703,
    "h": 142
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#22661C
secondary
#94439B
accent
#48E0D4
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #22661C

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

Preview Lab → · Contrast checker → · Palette generator →

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