#318152#318152

#318152 is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.1% C 0.108 H 154.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#318152
RGBrgb(49, 129, 82)
HSLhsl(145, 45%, 35%)
HSVhsv(145, 62%, 51%)
CMYKcmyk(62%, 0%, 36.4%, 49.4%)
CIE-LABlab(48.21, -35.81, 18.43)
CIE-LCHlch(48.21, 40.27, 152.76°)
OKLaboklab(54.12% -0.0972 0.0463)
OKLCHoklch(54.12% 0.108 154.5)
XYZxyz(10.6390, 16.9616, 10.6943)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318152 #813160
analogous
#388131 #318152 #31817A
triadic
#318152 #523181 #815231
tetradic
#318152 #313881 #813160 #817A31
square
#318152 #313881 #813160 #817A31
split-complementary
#318152 #7A3181 #813138
monochromatic
#0F281A #205536 #318152 #42AD6E #67C58E

Accessibility & contrast

On white

4.78
#318152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#318152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318152
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318152#FFFFFF#000000##FFFFFF
##3181521.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774F
Deuteranopia (green-blind)
#766F55
Tritanopia (blue-blind)
#138075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318152;
/* rgb */ color: rgb(49, 129, 82);
/* oklch */ color: oklch(54.1% 0.108 154.5);
Tailwind
colors: {
  custom: {
    50: '#72a683',
    500: '#318152',
    950: '#000000',
  },
}
SCSS
$custom: #318152;
$custom-light: #72a683;
$custom-dark: #000000;
JSON
{
  "hex": "#318152",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 144.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.10762,
    "h": 154.5
  },
  "luminance": 0.16963
}

Semantic roles & 50–950 ramp

primary
#318152
secondary
#AD618E
accent
#539FD5
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #318152

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

Preview Lab → · Contrast checker → · Palette generator →

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