#318B28#318B28

#318B28 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.160 H 141.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#318B28
RGBrgb(49, 139, 40)
HSLhsl(115, 55%, 35%)
HSVhsv(115, 71%, 55%)
CMYKcmyk(64.7%, 0%, 71.2%, 45.5%)
CIE-LABlab(51.00, -46.02, 43.18)
CIE-LCHlch(51.00, 63.10, 136.82°)
OKLaboklab(56.24% -0.1255 0.0987)
OKLCHoklch(56.24% 0.16 141.8)
XYZxyz(10.8817, 19.2703, 5.1532)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318B28 #82288B
analogous
#638B28 #318B28 #288B50
triadic
#318B28 #28318B #8B2831
tetradic
#318B28 #28638B #82288B #8B5028
square
#318B28 #28638B #82288B #8B5028
split-complementary
#318B28 #50288B #8B2863
monochromatic
#0F2C0D #205B1A #318B28 #42BB36 #68D05D

Accessibility & contrast

On white

4.33
#318B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#318B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318B28
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318B28#FFFFFF#000000##000000
##318B281.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#837731
Tritanopia (blue-blind)
#218777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #318b28;
/* rgb */ color: rgb(49, 139, 40);
/* oklch */ color: oklch(56.2% 0.160 141.8);
Tailwind
colors: {
  custom: {
    50: '#75ae68',
    500: '#318b28',
    950: '#000000',
  },
}
SCSS
$custom: #318b28;
$custom-light: #75ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#318b28",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 114.545,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.15963,
    "h": 141.8
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#318B28
secondary
#AD59B6
accent
#49DFD1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318B28

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

Preview Lab → · Contrast checker → · Palette generator →

#318B28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva