#22831D#22831D

#22831D is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.162 H 142.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#22831D
RGBrgb(34, 131, 29)
HSLhsl(117, 64%, 31%)
HSVhsv(117, 78%, 51%)
CMYKcmyk(74%, 0%, 77.9%, 48.6%)
CIE-LABlab(47.83, -47.25, 44.10)
CIE-LCHlch(47.83, 64.64, 136.98°)
OKLaboklab(53.47% -0.1285 0.0992)
OKLCHoklch(53.47% 0.162 142.3)
XYZxyz(8.9972, 16.6604, 3.9038)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22831D #7E1D83
analogous
#55831D #22831D #1D834B
triadic
#22831D #1D2283 #831D22
tetradic
#22831D #1D5583 #7E1D83 #834B1D
square
#22831D #1D5583 #7E1D83 #834B1D
split-complementary
#22831D #4B1D83 #831D55
monochromatic
#081F07 #155112 #22831D #2FB528 #4CD645

Accessibility & contrast

On white

4.85
#22831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#22831D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22831D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22831D#FFFFFF#000000##FFFFFF
##22831D1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#027F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #22831d;
/* rgb */ color: rgb(34, 131, 29);
/* oklch */ color: oklch(53.5% 0.162 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ea861',
    500: '#22831d',
    950: '#000000',
  },
}
SCSS
$custom: #22831d;
$custom-light: #6ea861;
$custom-dark: #000000;
JSON
{
  "hex": "#22831d",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 117.059,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.16237,
    "h": 142.3
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#22831D
secondary
#B146B6
accent
#41E7DF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #22831D

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

Preview Lab → · Contrast checker → · Palette generator →

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