#318F4D#318F4D

#318F4D is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.133 H 149.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#318F4D
RGBrgb(49, 143, 77)
HSLhsl(138, 49%, 38%)
HSVhsv(138, 66%, 56%)
CMYKcmyk(65.7%, 0%, 46.2%, 43.9%)
CIE-LABlab(52.77, -42.63, 27.18)
CIE-LCHlch(52.77, 50.55, 147.48°)
OKLaboklab(57.83% -0.115 0.0667)
OKLCHoklch(57.83% 0.133 149.9)
XYZxyz(12.4277, 20.8324, 10.3859)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F4D #8F3173
analogous
#448F31 #318F4D #318F7C
triadic
#318F4D #4D318F #8F4D31
tetradic
#318F4D #31448F #8F3173 #8F7C31
square
#318F4D #31448F #8F3173 #8F7C31
split-complementary
#318F4D #7C318F #8F3144
monochromatic
#12341C #216134 #318F4D #41BD66 #6DCD8A

Accessibility & contrast

On white

4.06
#318F4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#318F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F4D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F4D#FFFFFF#000000##000000
##318F4D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908348
Deuteranopia (green-blind)
#847B52
Tritanopia (blue-blind)
#0E8C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #318f4d;
/* rgb */ color: rgb(49, 143, 77);
/* oklch */ color: oklch(57.8% 0.133 149.9);
Tailwind
colors: {
  custom: {
    50: '#74b180',
    500: '#318f4d',
    950: '#000000',
  },
}
SCSS
$custom: #318f4d;
$custom-light: #74b180;
$custom-dark: #000000;
JSON
{
  "hex": "#318f4d",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 137.872,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.13298,
    "h": 149.9
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

primary
#318F4D
secondary
#B5679E
accent
#4FB0D9
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #318F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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