#31882B#31882B

#31882B is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.154 H 142.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#31882B
RGBrgb(49, 136, 43)
HSLhsl(116, 52%, 35%)
HSVhsv(116, 68%, 53%)
CMYKcmyk(64%, 0%, 68.4%, 46.7%)
CIE-LABlab(50.02, -44.60, 40.85)
CIE-LCHlch(50.02, 60.48, 137.52°)
OKLaboklab(55.43% -0.1215 0.0942)
OKLCHoklch(55.43% 0.154 142.2)
XYZxyz(10.5063, 18.4347, 5.2896)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31882B #822B88
analogous
#5F882B #31882B #2B8853
triadic
#31882B #2B3188 #882B31
tetradic
#31882B #2B5F88 #822B88 #88532B
square
#31882B #2B5F88 #822B88 #88532B
split-complementary
#31882B #532B88 #882B5F
monochromatic
#0F2B0E #205A1C #31882B #42B63A #68CD61

Accessibility & contrast

On white

4.48
#31882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#31882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31882B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31882B#FFFFFF#000000##000000
##31882B1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#218475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #31882b;
/* rgb */ color: rgb(49, 136, 43);
/* oklch */ color: oklch(55.4% 0.154 142.2);
Tailwind
colors: {
  custom: {
    50: '#74ab69',
    500: '#31882b',
    950: '#000000',
  },
}
SCSS
$custom: #31882b;
$custom-light: #74ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#31882b",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 116.129,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.1537,
    "h": 142.2
  },
  "luminance": 0.18436
}

Semantic roles & 50–950 ramp

primary
#31882B
secondary
#AD5CB3
accent
#4CDBD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #31882B

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

Preview Lab → · Contrast checker → · Palette generator →

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