#318817#318817

#318817 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.166 H 139.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#318817
RGBrgb(49, 136, 23)
HSLhsl(106, 71%, 31%)
HSVhsv(106, 83%, 53%)
CMYKcmyk(64%, 0%, 83.1%, 46.7%)
CIE-LABlab(49.88, -46.19, 48.19)
CIE-LCHlch(49.88, 66.75, 133.78°)
OKLaboklab(55.28% -0.1269 0.1067)
OKLCHoklch(55.28% 0.166 139.9)
XYZxyz(10.2250, 18.3222, 3.8081)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318817 #6E1788
analogous
#698817 #318817 #178835
triadic
#318817 #173188 #881731
tetradic
#318817 #176988 #6E1788 #883517
square
#318817 #176988 #6E1788 #883517
split-complementary
#318817 #351788 #881769
monochromatic
#0B1F05 #1E540E #318817 #44BC20 #61DE3B

Accessibility & contrast

On white

4.50
#318817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#318817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318817
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318817#FFFFFF#000000##000000
##3188171.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#258373
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #318817;
/* rgb */ color: rgb(49, 136, 23);
/* oklch */ color: oklch(55.3% 0.166 139.9);
Tailwind
colors: {
  custom: {
    50: '#75ac5f',
    500: '#318817',
    950: '#000000',
  },
}
SCSS
$custom: #318817;
$custom-light: #75ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#318817",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 106.195,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.16579,
    "h": 139.9
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#318817
secondary
#9F3FBC
accent
#3AEEC4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318817

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

Preview Lab → · Contrast checker → · Palette generator →

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