#22812C#22812C

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

Color values

HEX#22812C
RGBrgb(34, 129, 44)
HSLhsl(126, 58%, 32%)
HSVhsv(126, 74%, 51%)
CMYKcmyk(73.6%, 0%, 65.9%, 49.4%)
CIE-LABlab(47.26, -45.10, 37.26)
CIE-LCHlch(47.26, 58.50, 140.43°)
OKLaboklab(53.04% -0.1219 0.0868)
OKLCHoklch(53.04% 0.15 144.6)
XYZxyz(8.9640, 16.2214, 5.0410)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22812C #812277
analogous
#488122 #22812C #22815C
triadic
#22812C #2C2281 #812C22
tetradic
#22812C #224881 #812277 #815C22
square
#22812C #224881 #812277 #815C22
split-complementary
#22812C #5C2281 #812248
monochromatic
#08200B #15511B #22812C #2FB13D #4DD05B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22812C#FFFFFF#000000##FFFFFF
##22812C1.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)
#837522
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #22812c;
/* rgb */ color: rgb(34, 129, 44);
/* oklch */ color: oklch(53.0% 0.150 144.6);
Tailwind
colors: {
  custom: {
    50: '#6ca769',
    500: '#22812c',
    950: '#000000',
  },
}
SCSS
$custom: #22812c;
$custom-light: #6ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#22812c",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 126.316,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.14966,
    "h": 144.6
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

primary
#22812C
secondary
#B34BA8
accent
#46D1E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #22812C

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

Preview Lab → · Contrast checker → · Palette generator →

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