#319128#319128

#319128 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.9% C 0.167 H 141.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#319128
RGBrgb(49, 145, 40)
HSLhsl(115, 57%, 36%)
HSVhsv(115, 72%, 57%)
CMYKcmyk(66.2%, 0%, 72.4%, 43.1%)
CIE-LABlab(53.01, -48.21, 45.27)
CIE-LCHlch(53.01, 66.13, 136.80°)
OKLaboklab(57.9% -0.1314 0.1031)
OKLCHoklch(57.9% 0.167 141.9)
XYZxyz(11.7744, 21.0558, 5.4507)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#319128 #882891
analogous
#669128 #319128 #289154
triadic
#319128 #283191 #912831
tetradic
#319128 #286691 #882891 #915428
square
#319128 #286691 #882891 #915428
split-complementary
#319128 #542891 #912866
monochromatic
#11310E #21611B #319128 #41C135 #6AD360

Accessibility & contrast

On white

4.03
#319128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#319128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #319128
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##319128#FFFFFF#000000##000000
##3191281.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958317
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#1E8C7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #319128;
/* rgb */ color: rgb(49, 145, 40);
/* oklch */ color: oklch(57.9% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#76b268',
    500: '#319128',
    950: '#000000',
  },
}
SCSS
$custom: #319128;
$custom-light: #76b268;
$custom-dark: #000000;
JSON
{
  "hex": "#319128",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 114.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.579,
    "c": 0.167,
    "h": 141.9
  },
  "luminance": 0.21057
}

Semantic roles & 50–950 ramp

primary
#319128
secondary
#B15CB9
accent
#48E0D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #319128

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

Preview Lab → · Contrast checker → · Palette generator →

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