#318828#318828

#318828 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.156 H 141.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#318828
RGBrgb(49, 136, 40)
HSLhsl(114, 55%, 35%)
HSVhsv(114, 71%, 53%)
CMYKcmyk(64%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.99, -44.90, 42.11)
CIE-LCHlch(49.99, 61.56, 136.83°)
OKLaboklab(55.4% -0.1224 0.0964)
OKLCHoklch(55.4% 0.156 141.8)
XYZxyz(10.4532, 18.4135, 5.0104)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318828 #7F2888
analogous
#618828 #318828 #28884F
triadic
#318828 #283188 #882831
tetradic
#318828 #286188 #7F2888 #884F28
square
#318828 #286188 #7F2888 #884F28
split-complementary
#318828 #4F2888 #882861
monochromatic
#0F290C #20591A #318828 #42B736 #66CF5B

Accessibility & contrast

On white

4.48
#318828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#318828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318828
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318828#FFFFFF#000000##000000
##3188281.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#228475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #318828;
/* rgb */ color: rgb(49, 136, 40);
/* oklch */ color: oklch(55.4% 0.156 141.8);
Tailwind
colors: {
  custom: {
    50: '#74ab67',
    500: '#318828',
    950: '#000000',
  },
}
SCSS
$custom: #318828;
$custom-light: #74ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#318828",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 114.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.15587,
    "h": 141.8
  },
  "luminance": 0.18414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #318828

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

Preview Lab → · Contrast checker → · Palette generator →

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