#318151#318151

#318151 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.1% C 0.109 H 154.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#318151
RGBrgb(49, 129, 81)
HSLhsl(144, 45%, 35%)
HSVhsv(144, 62%, 51%)
CMYKcmyk(62%, 0%, 37.2%, 49.4%)
CIE-LABlab(48.19, -36.01, 18.98)
CIE-LCHlch(48.19, 40.70, 152.21°)
OKLaboklab(54.1% -0.0976 0.0476)
OKLCHoklch(54.1% 0.109 154)
XYZxyz(10.6012, 16.9465, 10.4953)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318151 #813161
analogous
#398131 #318151 #318179
triadic
#318151 #513181 #815131
tetradic
#318151 #313981 #813161 #817931
square
#318151 #313981 #813161 #817931
split-complementary
#318151 #793181 #813139
monochromatic
#0F2819 #205535 #318151 #42AD6D #67C58D

Accessibility & contrast

On white

4.78
#318151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#318151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318151
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318151#FFFFFF#000000##FFFFFF
##3181511.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774E
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#148075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318151;
/* rgb */ color: rgb(49, 129, 81);
/* oklch */ color: oklch(54.1% 0.109 154.0);
Tailwind
colors: {
  custom: {
    50: '#72a682',
    500: '#318151',
    950: '#000000',
  },
}
SCSS
$custom: #318151;
$custom-light: #72a682;
$custom-dark: #000000;
JSON
{
  "hex": "#318151",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 144,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54096,
    "c": 0.10862,
    "h": 154
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#318151
secondary
#AD618E
accent
#53A1D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #318151

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

Preview Lab → · Contrast checker → · Palette generator →

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