#22831B#22831B

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

Color values

HEX#22831B
RGBrgb(34, 131, 27)
HSLhsl(116, 66%, 31%)
HSVhsv(116, 79%, 51%)
CMYKcmyk(74%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.82, -47.40, 44.80)
CIE-LCHlch(47.82, 65.22, 136.62°)
OKLaboklab(53.46% -0.129 0.1004)
OKLCHoklch(53.46% 0.163 142.1)
XYZxyz(8.9733, 16.6508, 3.7777)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22831B #7C1B83
analogous
#56831B #22831B #1B8348
triadic
#22831B #1B2283 #831B22
tetradic
#22831B #1B5683 #7C1B83 #83481B
square
#22831B #1B5683 #7C1B83 #83481B
split-complementary
#22831B #481B83 #831B56
monochromatic
#081E06 #155011 #22831B #2FB625 #4BD841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22831B#FFFFFF#000000##FFFFFF
##22831B1.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)
#867602
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#027F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #22831b;
/* rgb */ color: rgb(34, 131, 27);
/* oklch */ color: oklch(53.5% 0.163 142.1);
Tailwind
colors: {
  custom: {
    50: '#6ea860',
    500: '#22831b',
    950: '#000000',
  },
}
SCSS
$custom: #22831b;
$custom-light: #6ea860;
$custom-dark: #000000;
JSON
{
  "hex": "#22831b",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 115.962,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.16349,
    "h": 142.1
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#22831B
secondary
#AF43B6
accent
#3FE9DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #22831B

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

Preview Lab → · Contrast checker → · Palette generator →

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