#318015#318015

#318015 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.157 H 139.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#318015
RGBrgb(49, 128, 21)
HSLhsl(104, 72%, 29%)
HSVhsv(104, 84%, 50%)
CMYKcmyk(61.7%, 0%, 83.6%, 49.8%)
CIE-LABlab(47.16, -43.35, 46.26)
CIE-LCHlch(47.16, 63.40, 133.13°)
OKLaboklab(53.02% -0.1193 0.1024)
OKLCHoklch(53.02% 0.157 139.4)
XYZxyz(9.1208, 16.1446, 3.3449)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318015 #641580
analogous
#678015 #318015 #15802F
triadic
#318015 #153180 #801531
tetradic
#318015 #156780 #641580 #802F15
square
#318015 #156780 #641580 #802F15
split-complementary
#318015 #2F1580 #801567
monochromatic
#0A1A04 #1D4B0C #318015 #45B51E #5FDD32

Accessibility & contrast

On white

4.97
#318015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#318015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318015
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318015#FFFFFF#000000##FFFFFF
##3180151.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#277B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #318015;
/* rgb */ color: rgb(49, 128, 21);
/* oklch */ color: oklch(53.0% 0.157 139.4);
Tailwind
colors: {
  custom: {
    50: '#74a65d',
    500: '#318015',
    950: '#000000',
  },
}
SCSS
$custom: #318015;
$custom-light: #74a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#318015",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 104.299,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.15726,
    "h": 139.4
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#318015
secondary
#953CB5
accent
#39EFBF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #318015

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

Preview Lab → · Contrast checker → · Palette generator →

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