#31822B#31822B

#31822B is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.146 H 142.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#31822B
RGBrgb(49, 130, 43)
HSLhsl(116, 50%, 34%)
HSVhsv(116, 67%, 51%)
CMYKcmyk(62.3%, 0%, 66.9%, 49%)
CIE-LABlab(48.00, -42.31, 38.64)
CIE-LCHlch(48.00, 57.30, 137.59°)
OKLaboklab(53.76% -0.1153 0.0895)
OKLCHoklch(53.76% 0.146 142.2)
XYZxyz(9.6848, 16.7917, 5.0158)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31822B #7C2B82
analogous
#5D822B #31822B #2B8251
triadic
#31822B #2B3182 #822B31
tetradic
#31822B #2B5D82 #7C2B82 #82512B
square
#31822B #2B5D82 #7C2B82 #82512B
split-complementary
#31822B #512B82 #822B5D
monochromatic
#0E260D #20541C #31822B #42B03A #65CA5E

Accessibility & contrast

On white

4.82
#31822B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#31822B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31822B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31822B#FFFFFF#000000##FFFFFF
##31822B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857620
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#237E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #31822b;
/* rgb */ color: rgb(49, 130, 43);
/* oklch */ color: oklch(53.8% 0.146 142.2);
Tailwind
colors: {
  custom: {
    50: '#73a768',
    500: '#31822b',
    950: '#000000',
  },
}
SCSS
$custom: #31822b;
$custom-light: #73a768;
$custom-dark: #000000;
JSON
{
  "hex": "#31822b",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 115.862,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.14594,
    "h": 142.2
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#31822B
secondary
#AA59B0
accent
#4EDAD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #31822B

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

Preview Lab → · Contrast checker → · Palette generator →

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