#318752#318752

#318752 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.8% C 0.117 H 153.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#318752
RGBrgb(49, 135, 82)
HSLhsl(143, 47%, 36%)
HSVhsv(143, 64%, 53%)
CMYKcmyk(63.7%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.20, -38.40, 21.09)
CIE-LCHlch(50.20, 43.81, 151.22°)
OKLaboklab(55.75% -0.1039 0.0527)
OKLCHoklch(55.75% 0.117 153.1)
XYZxyz(11.4527, 18.5890, 10.9655)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318752 #873166
analogous
#3B8731 #318752 #31877D
triadic
#318752 #523187 #875231
tetradic
#318752 #313B87 #873166 #877D31
square
#318752 #313B87 #873166 #877D31
split-complementary
#318752 #7D3187 #87313B
monochromatic
#102D1B #215A37 #318752 #41B46D #6AC98E

Accessibility & contrast

On white

4.45
#318752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#318752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318752
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318752#FFFFFF#000000##000000
##3187521.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#7C7455
Tritanopia (blue-blind)
#0F857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #318752;
/* rgb */ color: rgb(49, 135, 82);
/* oklch */ color: oklch(55.8% 0.117 153.1);
Tailwind
colors: {
  custom: {
    50: '#73ab83',
    500: '#318752',
    950: '#000000',
  },
}
SCSS
$custom: #318752;
$custom-light: #73ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#318752",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 143.023,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.11651,
    "h": 153.1
  },
  "luminance": 0.1859
}

Semantic roles & 50–950 ramp

primary
#318752
secondary
#B06493
accent
#51A3D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #318752

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

Preview Lab → · Contrast checker → · Palette generator →

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