#318E52#318E52

#318E52 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.127 H 151.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#318E52
RGBrgb(49, 142, 82)
HSLhsl(141, 49%, 37%)
HSVhsv(141, 65%, 56%)
CMYKcmyk(65.5%, 0%, 42.3%, 44.3%)
CIE-LABlab(52.52, -41.32, 24.14)
CIE-LCHlch(52.52, 47.86, 149.71°)
OKLaboklab(57.66% -0.1116 0.0598)
OKLCHoklch(57.66% 0.127 151.8)
XYZxyz(12.4616, 20.6069, 11.3018)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E52 #8E316D
analogous
#3F8E31 #318E52 #318E80
triadic
#318E52 #52318E #8E5231
tetradic
#318E52 #313F8E #8E316D #8E8031
square
#318E52 #313F8E #8E316D #8E8031
split-complementary
#318E52 #80318E #8E313F
monochromatic
#12331D #216138 #318E52 #41BB6C #6DCD8F

Accessibility & contrast

On white

4.10
#318E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#318E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318E52
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318E52#FFFFFF#000000##000000
##318E521.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824E
Deuteranopia (green-blind)
#827A56
Tritanopia (blue-blind)
#098C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318e52;
/* rgb */ color: rgb(49, 142, 82);
/* oklch */ color: oklch(57.7% 0.127 151.8);
Tailwind
colors: {
  custom: {
    50: '#74b083',
    500: '#318e52',
    950: '#000000',
  },
}
SCSS
$custom: #318e52;
$custom-light: #74b083;
$custom-dark: #000000;
JSON
{
  "hex": "#318e52",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 82
  },
  "hsl": {
    "h": 141.29,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.12664,
    "h": 151.8
  },
  "luminance": 0.20608
}

Semantic roles & 50–950 ramp

primary
#318E52
secondary
#B46799
accent
#50A8D8
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #318E52

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

Preview Lab → · Contrast checker → · Palette generator →

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