#22812D#22812D

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

Color values

HEX#22812D
RGBrgb(34, 129, 45)
HSLhsl(127, 58%, 32%)
HSVhsv(127, 74%, 51%)
CMYKcmyk(73.6%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.27, -44.98, 36.80)
CIE-LCHlch(47.27, 58.12, 140.71°)
OKLaboklab(53.06% -0.1216 0.0859)
OKLCHoklch(53.06% 0.149 144.8)
XYZxyz(8.9830, 16.2291, 5.1412)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22812D #812276
analogous
#478122 #22812D #22815D
triadic
#22812D #2D2281 #812D22
tetradic
#22812D #224781 #812276 #815D22
square
#22812D #224781 #812276 #815D22
split-complementary
#22812D #5D2281 #812247
monochromatic
#08200B #15511C #22812D #2FB13E #4DD05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22812D#FFFFFF#000000##FFFFFF
##22812D1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22812d;
/* rgb */ color: rgb(34, 129, 45);
/* oklch */ color: oklch(53.1% 0.149 144.8);
Tailwind
colors: {
  custom: {
    50: '#6ca769',
    500: '#22812d',
    950: '#000000',
  },
}
SCSS
$custom: #22812d;
$custom-light: #6ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#22812d",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 126.947,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.14885,
    "h": 144.8
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#22812D
secondary
#B34BA7
accent
#46D0E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #22812D

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

Preview Lab → · Contrast checker → · Palette generator →

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