#22812E#22812E

#22812E is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.148 H 145.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#22812E
RGBrgb(34, 129, 46)
HSLhsl(128, 58%, 32%)
HSVhsv(128, 74%, 51%)
CMYKcmyk(73.6%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.28, -44.86, 36.34)
CIE-LCHlch(47.28, 57.73, 140.98°)
OKLaboklab(53.07% -0.1212 0.085)
OKLCHoklch(53.07% 0.148 145)
XYZxyz(9.0025, 16.2369, 5.2438)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22812E #812275
analogous
#468122 #22812E #22815E
triadic
#22812E #2E2281 #812E22
tetradic
#22812E #224681 #812275 #815E22
square
#22812E #224681 #812275 #815E22
split-complementary
#22812E #5E2281 #812246
monochromatic
#08200B #15511D #22812E #2FB13F #4DD05E

Accessibility & contrast

On white

4.94
#22812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#22812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22812E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22812E#FFFFFF#000000##FFFFFF
##22812E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837525
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #22812e;
/* rgb */ color: rgb(34, 129, 46);
/* oklch */ color: oklch(53.1% 0.148 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ca76a',
    500: '#22812e',
    950: '#000000',
  },
}
SCSS
$custom: #22812e;
$custom-light: #6ca76a;
$custom-dark: #000000;
JSON
{
  "hex": "#22812e",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 127.579,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.14804,
    "h": 145
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#22812E
secondary
#B34BA6
accent
#46CEE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #22812E

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

Preview Lab → · Contrast checker → · Palette generator →

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