#318928#318928

#318928 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.157 H 141.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#318928
RGBrgb(49, 137, 40)
HSLhsl(114, 55%, 35%)
HSVhsv(114, 71%, 54%)
CMYKcmyk(64.2%, 0%, 70.8%, 46.3%)
CIE-LABlab(50.33, -45.27, 42.47)
CIE-LCHlch(50.33, 62.08, 136.83°)
OKLaboklab(55.68% -0.1235 0.0972)
OKLCHoklch(55.68% 0.157 141.8)
XYZxyz(10.5947, 18.6965, 5.0575)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318928 #802889
analogous
#628928 #318928 #288950
triadic
#318928 #283189 #892831
tetradic
#318928 #286289 #802889 #895028
square
#318928 #286289 #802889 #895028
split-complementary
#318928 #502889 #892862
monochromatic
#0F2A0C #205A1A #318928 #42B836 #67CF5C

Accessibility & contrast

On white

4.43
#318928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#318928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318928
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318928#FFFFFF#000000##000000
##3189281.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#218576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #318928;
/* rgb */ color: rgb(49, 137, 40);
/* oklch */ color: oklch(55.7% 0.157 141.8);
Tailwind
colors: {
  custom: {
    50: '#75ac67',
    500: '#318928',
    950: '#000000',
  },
}
SCSS
$custom: #318928;
$custom-light: #75ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#318928",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 114.433,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55682,
    "c": 0.15713,
    "h": 141.8
  },
  "luminance": 0.18697
}

Semantic roles & 50–950 ramp

primary
#318928
secondary
#AC58B5
accent
#4ADED0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318928

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

Preview Lab → · Contrast checker → · Palette generator →

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