#318751#318751

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

Color values

HEX#318751
RGBrgb(49, 135, 81)
HSLhsl(142, 47%, 36%)
HSVhsv(142, 64%, 53%)
CMYKcmyk(63.7%, 0%, 40%, 47.1%)
CIE-LABlab(50.18, -38.59, 21.63)
CIE-LCHlch(50.18, 44.24, 150.73°)
OKLaboklab(55.73% -0.1044 0.0539)
OKLCHoklch(55.73% 0.118 152.7)
XYZxyz(11.4149, 18.5739, 10.7665)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318751 #873167
analogous
#3C8731 #318751 #31877C
triadic
#318751 #513187 #875131
tetradic
#318751 #313C87 #873167 #877C31
square
#318751 #313C87 #873167 #877C31
split-complementary
#318751 #7C3187 #87313C
monochromatic
#102D1B #215A36 #318751 #41B46C #6AC98D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318751#FFFFFF#000000##000000
##3187511.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)
#877C4D
Deuteranopia (green-blind)
#7C7455
Tritanopia (blue-blind)
#108579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #318751;
/* rgb */ color: rgb(49, 135, 81);
/* oklch */ color: oklch(55.7% 0.117 152.7);
Tailwind
colors: {
  custom: {
    50: '#73ab82',
    500: '#318751',
    950: '#000000',
  },
}
SCSS
$custom: #318751;
$custom-light: #73ab82;
$custom-dark: #000000;
JSON
{
  "hex": "#318751",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 142.326,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.1175,
    "h": 152.7
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#318751
secondary
#B06494
accent
#51A5D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #318751

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

Preview Lab → · Contrast checker → · Palette generator →

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