#318C52#318C52

#318C52 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.124 H 152.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#318C52
RGBrgb(49, 140, 82)
HSLhsl(142, 48%, 37%)
HSVhsv(142, 65%, 55%)
CMYKcmyk(65%, 0%, 41.4%, 45.1%)
CIE-LABlab(51.86, -40.50, 23.27)
CIE-LCHlch(51.86, 46.71, 150.11°)
OKLaboklab(57.11% -0.1094 0.0578)
OKLCHoklch(57.11% 0.124 152.2)
XYZxyz(12.1667, 20.0171, 11.2035)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318C52 #8C316B
analogous
#3E8C31 #318C52 #318C80
triadic
#318C52 #52318C #8C5231
tetradic
#318C52 #313E8C #8C316B #8C8031
square
#318C52 #313E8C #8C316B #8C8031
split-complementary
#318C52 #80318C #8C313E
monochromatic
#11311D #215F37 #318C52 #41B96D #6CCC8F

Accessibility & contrast

On white

4.20
#318C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#318C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318C52
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318C52#FFFFFF#000000##000000
##318C521.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C814E
Deuteranopia (green-blind)
#817856
Tritanopia (blue-blind)
#0B8A7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318c52;
/* rgb */ color: rgb(49, 140, 82);
/* oklch */ color: oklch(57.1% 0.124 152.2);
Tailwind
colors: {
  custom: {
    50: '#74ae83',
    500: '#318c52',
    950: '#000000',
  },
}
SCSS
$custom: #318c52;
$custom-light: #74ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#318c52",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 82
  },
  "hsl": {
    "h": 141.758,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.12377,
    "h": 152.2
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#318C52
secondary
#B36697
accent
#50A7D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #318C52

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

Preview Lab → · Contrast checker → · Palette generator →

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