#319228#319228

#319228 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.168 H 141.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#319228
RGBrgb(49, 146, 40)
HSLhsl(115, 57%, 36%)
HSVhsv(115, 73%, 57%)
CMYKcmyk(66.4%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.34, -48.57, 45.62)
CIE-LCHlch(53.34, 66.63, 136.79°)
OKLaboklab(58.18% -0.1324 0.1038)
OKLCHoklch(58.18% 0.168 141.9)
XYZxyz(11.9279, 21.3627, 5.5019)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#319228 #892892
analogous
#669228 #319228 #289254
triadic
#319228 #283192 #922831
tetradic
#319228 #286692 #892892 #925428
square
#319228 #286692 #892892 #925428
split-complementary
#319228 #542892 #922866
monochromatic
#11320E #21621B #319228 #41C235 #6BD461

Accessibility & contrast

On white

3.98
#319228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#319228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #319228
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##319228#FFFFFF#000000##000000
##3192281.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968417
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#1E8D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #319228;
/* rgb */ color: rgb(49, 146, 40);
/* oklch */ color: oklch(58.2% 0.168 141.9);
Tailwind
colors: {
  custom: {
    50: '#77b368',
    500: '#319228',
    950: '#000000',
  },
}
SCSS
$custom: #319228;
$custom-light: #77b368;
$custom-dark: #000000;
JSON
{
  "hex": "#319228",
  "rgb": {
    "r": 49,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 114.906,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.16822,
    "h": 141.9
  },
  "luminance": 0.21364
}

Semantic roles & 50–950 ramp

primary
#319228
secondary
#B15DB9
accent
#48E0D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #319228

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

Preview Lab → · Contrast checker → · Palette generator →

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