#318F52#318F52

#318F52 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.128 H 151.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#318F52
RGBrgb(49, 143, 82)
HSLhsl(141, 49%, 38%)
HSVhsv(141, 66%, 56%)
CMYKcmyk(65.7%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.85, -41.73, 24.57)
CIE-LCHlch(52.85, 48.43, 149.51°)
OKLaboklab(57.93% -0.1127 0.0608)
OKLCHoklch(57.93% 0.128 151.6)
XYZxyz(12.6111, 20.9058, 11.3516)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F52 #8F316E
analogous
#3F8F31 #318F52 #318F81
triadic
#318F52 #52318F #8F5231
tetradic
#318F52 #313F8F #8F316E #8F8131
square
#318F52 #313F8F #8F316E #8F8131
split-complementary
#318F52 #81318F #8F313F
monochromatic
#12341E #216138 #318F52 #41BD6C #6DCD8F

Accessibility & contrast

On white

4.05
#318F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#318F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F52
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F52#FFFFFF#000000##000000
##318F521.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#837B56
Tritanopia (blue-blind)
#088D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #318f52;
/* rgb */ color: rgb(49, 143, 82);
/* oklch */ color: oklch(57.9% 0.128 151.6);
Tailwind
colors: {
  custom: {
    50: '#74b183',
    500: '#318f52',
    950: '#000000',
  },
}
SCSS
$custom: #318f52;
$custom-light: #74b183;
$custom-dark: #000000;
JSON
{
  "hex": "#318f52",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 141.064,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.12806,
    "h": 151.6
  },
  "luminance": 0.20907
}

Semantic roles & 50–950 ramp

primary
#318F52
secondary
#B56799
accent
#4FA8D9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #318F52

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

Preview Lab → · Contrast checker → · Palette generator →

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