#319831#319831

#319831 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.169 H 143.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#319831
RGBrgb(49, 152, 49)
HSLhsl(120, 51%, 39%)
HSVhsv(120, 68%, 60%)
CMYKcmyk(67.8%, 0%, 67.8%, 40.4%)
CIE-LABlab(55.41, -49.87, 44.08)
CIE-LCHlch(55.41, 66.56, 138.52°)
OKLaboklab(59.91% -0.1354 0.1017)
OKLCHoklch(59.91% 0.169 143.1)
XYZxyz(13.0485, 23.3298, 6.7206)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#319831 #983198
analogous
#659831 #319831 #319865
triadic
#319831 #313198 #983131
tetradic
#319831 #316598 #983198 #986531
square
#319831 #316598 #983198 #986531
split-complementary
#319831 #653198 #983165
monochromatic
#133B13 #226A22 #319831 #44C344 #72D272

Accessibility & contrast

On white

3.71
#319831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#319831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #319831
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##319831#FFFFFF#000000##000000
##3198311.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A23
Deuteranopia (green-blind)
#8F813A
Tritanopia (blue-blind)
#189483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #319831;
/* rgb */ color: rgb(49, 152, 49);
/* oklch */ color: oklch(59.9% 0.169 143.1);
Tailwind
colors: {
  custom: {
    50: '#77b76e',
    500: '#319831',
    950: '#000000',
  },
}
SCSS
$custom: #319831;
$custom-light: #77b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#319831",
  "rgb": {
    "r": 49,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.16934,
    "h": 143.1
  },
  "luminance": 0.23331
}

Semantic roles & 50–950 ramp

primary
#319831
secondary
#B96BB9
accent
#4DDBDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #319831

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

Preview Lab → · Contrast checker → · Palette generator →

#319831 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva