#22812F#22812F

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

Color values

HEX#22812F
RGBrgb(34, 129, 47)
HSLhsl(128, 58%, 32%)
HSVhsv(128, 74%, 51%)
CMYKcmyk(73.6%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.29, -44.73, 35.88)
CIE-LCHlch(47.29, 57.34, 141.27°)
OKLaboklab(53.08% -0.1208 0.0841)
OKLCHoklch(53.08% 0.147 145.2)
XYZxyz(9.0224, 16.2448, 5.3488)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22812F #812274
analogous
#448122 #22812F #22815F
triadic
#22812F #2F2281 #812F22
tetradic
#22812F #224481 #812274 #815F22
square
#22812F #224481 #812274 #815F22
split-complementary
#22812F #5F2281 #812244
monochromatic
#08200C #15511D #22812F #2FB141 #4DD05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22812F#FFFFFF#000000##FFFFFF
##22812F1.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)
#837526
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #22812f;
/* rgb */ color: rgb(34, 129, 47);
/* oklch */ color: oklch(53.1% 0.147 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ca76b',
    500: '#22812f',
    950: '#000000',
  },
}
SCSS
$custom: #22812f;
$custom-light: #6ca76b;
$custom-dark: #000000;
JSON
{
  "hex": "#22812f",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 128.211,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.14722,
    "h": 145.2
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#22812F
secondary
#B34BA5
accent
#46CCE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #22812F

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

Preview Lab → · Contrast checker → · Palette generator →

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