#318A15#318A15

#318A15 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.169 H 139.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#318A15
RGBrgb(49, 138, 21)
HSLhsl(106, 74%, 31%)
HSVhsv(106, 85%, 54%)
CMYKcmyk(64.5%, 0%, 84.8%, 45.9%)
CIE-LABlab(50.55, -47.02, 49.38)
CIE-LCHlch(50.55, 68.18, 133.60°)
OKLaboklab(55.83% -0.1292 0.1089)
OKLCHoklch(55.83% 0.169 139.9)
XYZxyz(10.4900, 18.8831, 3.8013)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318A15 #6E158A
analogous
#6B8A15 #318A15 #158A33
triadic
#318A15 #15318A #8A1531
tetradic
#318A15 #156B8A #6E158A #8A3315
square
#318A15 #156B8A #6E158A #8A3315
split-complementary
#318A15 #33158A #8A156B
monochromatic
#0B2005 #1E550D #318A15 #44BF1D #61E139

Accessibility & contrast

On white

4.40
#318A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#318A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318A15
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318A15#FFFFFF#000000##000000
##318A151.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#248575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #318a15;
/* rgb */ color: rgb(49, 138, 21);
/* oklch */ color: oklch(55.8% 0.169 139.9);
Tailwind
colors: {
  custom: {
    50: '#76ad5f',
    500: '#318a15',
    950: '#000000',
  },
}
SCSS
$custom: #318a15;
$custom-light: #76ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#318a15",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 105.641,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.16899,
    "h": 139.9
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#318A15
secondary
#9F3DBE
accent
#38F0C4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318A15

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

Preview Lab → · Contrast checker → · Palette generator →

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