#22831E#22831E

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

Color values

HEX#22831E
RGBrgb(34, 131, 30)
HSLhsl(118, 63%, 32%)
HSVhsv(118, 77%, 51%)
CMYKcmyk(74%, 0%, 77.1%, 48.6%)
CIE-LABlab(47.84, -47.17, 43.74)
CIE-LCHlch(47.84, 64.33, 137.16°)
OKLaboklab(53.48% -0.1283 0.0986)
OKLCHoklch(53.48% 0.162 142.4)
XYZxyz(9.0098, 16.6654, 3.9700)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22831E #7F1E83
analogous
#55831E #22831E #1E834D
triadic
#22831E #1E2283 #831E22
tetradic
#22831E #1E5583 #7F1E83 #834D1E
square
#22831E #1E5583 #7F1E83 #834D1E
split-complementary
#22831E #4D1E83 #831E55
monochromatic
#081F07 #155113 #22831E #2FB529 #4CD547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22831E#FFFFFF#000000##FFFFFF
##22831E1.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)
#867609
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#017F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #22831e;
/* rgb */ color: rgb(34, 131, 30);
/* oklch */ color: oklch(53.5% 0.162 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ea861',
    500: '#22831e',
    950: '#000000',
  },
}
SCSS
$custom: #22831e;
$custom-light: #6ea861;
$custom-dark: #000000;
JSON
{
  "hex": "#22831e",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 117.624,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.16179,
    "h": 142.4
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#22831E
secondary
#B247B6
accent
#42E6DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #22831E

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

Preview Lab → · Contrast checker → · Palette generator →

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