#22831C#22831C

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

Color values

HEX#22831C
RGBrgb(34, 131, 28)
HSLhsl(117, 65%, 31%)
HSVhsv(117, 79%, 51%)
CMYKcmyk(74%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.82, -47.33, 44.45)
CIE-LCHlch(47.82, 64.93, 136.79°)
OKLaboklab(53.47% -0.1288 0.0998)
OKLCHoklch(53.47% 0.163 142.2)
XYZxyz(8.9851, 16.6555, 3.8397)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22831C #7D1C83
analogous
#55831C #22831C #1C8349
triadic
#22831C #1C2283 #831C22
tetradic
#22831C #1C5583 #7D1C83 #83491C
square
#22831C #1C5583 #7D1C83 #83491C
split-complementary
#22831C #491C83 #831C55
monochromatic
#081E06 #155111 #22831C #2FB527 #4BD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22831C#FFFFFF#000000##FFFFFF
##22831C1.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)
#867604
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#027F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #22831c;
/* rgb */ color: rgb(34, 131, 28);
/* oklch */ color: oklch(53.5% 0.163 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ea860',
    500: '#22831c',
    950: '#000000',
  },
}
SCSS
$custom: #22831c;
$custom-light: #6ea860;
$custom-dark: #000000;
JSON
{
  "hex": "#22831c",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 116.505,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.16294,
    "h": 142.2
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#22831C
secondary
#B045B6
accent
#40E8DE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #22831C

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

Preview Lab → · Contrast checker → · Palette generator →

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