#22812A#22812A

#22812A is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.151 H 144.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#22812A
RGBrgb(34, 129, 42)
HSLhsl(125, 58%, 32%)
HSVhsv(125, 74%, 51%)
CMYKcmyk(73.6%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.24, -45.32, 38.16)
CIE-LCHlch(47.24, 59.25, 139.91°)
OKLaboklab(53.02% -0.1226 0.0884)
OKLCHoklch(53.02% 0.151 144.2)
XYZxyz(8.9273, 16.2068, 4.8478)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22812A #812279
analogous
#498122 #22812A #22815A
triadic
#22812A #2A2281 #812A22
tetradic
#22812A #224981 #812279 #815A22
square
#22812A #224981 #812279 #815A22
split-complementary
#22812A #5A2281 #812249
monochromatic
#08200A #15511A #22812A #2FB13A #4DD058

Accessibility & contrast

On white

4.95
#22812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#22812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22812A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22812A#FFFFFF#000000##FFFFFF
##22812A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83751F
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #22812a;
/* rgb */ color: rgb(34, 129, 42);
/* oklch */ color: oklch(53.0% 0.151 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ca768',
    500: '#22812a',
    950: '#000000',
  },
}
SCSS
$custom: #22812a;
$custom-light: #6ca768;
$custom-dark: #000000;
JSON
{
  "hex": "#22812a",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 125.053,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.15121,
    "h": 144.2
  },
  "luminance": 0.16208
}

Semantic roles & 50–950 ramp

primary
#22812A
secondary
#B34BAB
accent
#46D4E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #22812A

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

Preview Lab → · Contrast checker → · Palette generator →

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