#318E15#318E15

#318E15 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.174 H 140.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#318E15
RGBrgb(49, 142, 21)
HSLhsl(106, 74%, 32%)
HSVhsv(106, 85%, 56%)
CMYKcmyk(65.5%, 0%, 85.2%, 44.3%)
CIE-LABlab(51.90, -48.44, 50.60)
CIE-LCHlch(51.90, 70.05, 133.75°)
OKLaboklab(56.94% -0.133 0.1115)
OKLCHoklch(56.94% 0.174 140)
XYZxyz(11.0745, 20.0520, 3.9961)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E15 #72158E
analogous
#6E8E15 #318E15 #158E36
triadic
#318E15 #15318E #8E1531
tetradic
#318E15 #156E8E #72158E #8E3615
square
#318E15 #156E8E #72158E #8E3615
split-complementary
#318E15 #36158E #8E156E
monochromatic
#0C2305 #1F590D #318E15 #43C31D #62E23B

Accessibility & contrast

On white

4.19
#318E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#318E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318E15
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318E15#FFFFFF#000000##000000
##318E151.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#238978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318e15;
/* rgb */ color: rgb(49, 142, 21);
/* oklch */ color: oklch(56.9% 0.174 140.0);
Tailwind
colors: {
  custom: {
    50: '#77b05f',
    500: '#318e15',
    950: '#000000',
  },
}
SCSS
$custom: #318e15;
$custom-light: #77b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#318e15",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 106.116,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.17357,
    "h": 140
  },
  "luminance": 0.20053
}

Semantic roles & 50–950 ramp

primary
#318E15
secondary
#A33DC2
accent
#37F1C6
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #318E15

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

Preview Lab → · Contrast checker → · Palette generator →

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