#318F17#318F17

#318F17 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.174 H 140.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#318F17
RGBrgb(49, 143, 23)
HSLhsl(107, 72%, 33%)
HSVhsv(107, 84%, 56%)
CMYKcmyk(65.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.24, -48.69, 50.36)
CIE-LCHlch(52.24, 70.05, 134.04°)
OKLaboklab(57.23% -0.1336 0.1113)
OKLCHoklch(57.23% 0.174 140.2)
XYZxyz(11.2432, 20.3586, 4.1475)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F17 #75178F
analogous
#6D8F17 #318F17 #178F39
triadic
#318F17 #17318F #8F1731
tetradic
#318F17 #176D8F #75178F #8F3917
square
#318F17 #176D8F #75178F #8F3917
split-complementary
#318F17 #39178F #8F176D
monochromatic
#0D2606 #1F5A0F #318F17 #43C41F #63E040

Accessibility & contrast

On white

4.14
#318F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#318F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F17
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F17#FFFFFF#000000##000000
##318F171.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#228A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f17;
/* rgb */ color: rgb(49, 143, 23);
/* oklch */ color: oklch(57.2% 0.174 140.2);
Tailwind
colors: {
  custom: {
    50: '#77b160',
    500: '#318f17',
    950: '#000000',
  },
}
SCSS
$custom: #318f17;
$custom-light: #77b160;
$custom-dark: #000000;
JSON
{
  "hex": "#318f17",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 107,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.17389,
    "h": 140.2
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#318F17
secondary
#A541C1
accent
#39EFC8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #318F17

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

Preview Lab → · Contrast checker → · Palette generator →

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