#22662A#22662A

#22662A is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.3% C 0.115 H 145.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#22662A
RGBrgb(34, 102, 42)
HSLhsl(127, 50%, 27%)
HSVhsv(127, 67%, 40%)
CMYKcmyk(66.7%, 0%, 58.8%, 60%)
CIE-LABlab(37.86, -34.98, 27.42)
CIE-LCHlch(37.86, 44.44, 141.91°)
OKLaboklab(45.26% -0.0946 0.0654)
OKLCHoklch(45.26% 0.115 145.4)
XYZxyz(5.8286, 10.0094, 3.8149)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22662A #66225E
analogous
#3C6622 #22662A #22664C
triadic
#22662A #2A2266 #662A22
tetradic
#22662A #223C66 #66225E #664C22
square
#22662A #223C66 #66225E #664C22
split-complementary
#22662A #4C2266 #66223C
monochromatic
#081709 #133817 #22662A #31943D #42C051

Accessibility & contrast

On white

7.00
#22662A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#22662A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22662A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22662A#FFFFFF#000000##FFFFFF
##22662A1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D24
Deuteranopia (green-blind)
#5F572F
Tritanopia (blue-blind)
#116359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #22662a;
/* rgb */ color: rgb(34, 102, 42);
/* oklch */ color: oklch(45.3% 0.115 145.4);
Tailwind
colors: {
  custom: {
    50: '#669265',
    500: '#22662a',
    950: '#000000',
  },
}
SCSS
$custom: #22662a;
$custom-light: #669265;
$custom-dark: #000000;
JSON
{
  "hex": "#22662a",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 127.059,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.11501,
    "h": 145.4
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#22662A
secondary
#9A4A90
accent
#4EC9DA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #22662A

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

Preview Lab → · Contrast checker → · Palette generator →

#22662A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva