#22831A#22831A

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

Color values

HEX#22831A
RGBrgb(34, 131, 26)
HSLhsl(115, 67%, 31%)
HSVhsv(115, 80%, 51%)
CMYKcmyk(74%, 0%, 80.2%, 48.6%)
CIE-LABlab(47.81, -47.47, 45.14)
CIE-LCHlch(47.81, 65.51, 136.45°)
OKLaboklab(53.45% -0.1293 0.1009)
OKLCHoklch(53.45% 0.164 142)
XYZxyz(8.9619, 16.6463, 3.7178)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22831A #7B1A83
analogous
#56831A #22831A #1A8347
triadic
#22831A #1A2283 #831A22
tetradic
#22831A #1A5683 #7B1A83 #83471A
square
#22831A #1A5683 #7B1A83 #83471A
split-complementary
#22831A #471A83 #831A56
monochromatic
#071D06 #155010 #22831A #2FB624 #4AD93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22831A#FFFFFF#000000##FFFFFF
##22831A1.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)
#867600
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#037F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #22831a;
/* rgb */ color: rgb(34, 131, 26);
/* oklch */ color: oklch(53.5% 0.164 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea85f',
    500: '#22831a',
    950: '#000000',
  },
}
SCSS
$custom: #22831a;
$custom-light: #6ea85f;
$custom-dark: #000000;
JSON
{
  "hex": "#22831a",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 115.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.16402,
    "h": 142
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#22831A
secondary
#AE42B7
accent
#3EEADD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #22831A

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

Preview Lab → · Contrast checker → · Palette generator →

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