#318115#318115

#318115 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.158 H 139.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#318115
RGBrgb(49, 129, 21)
HSLhsl(104, 72%, 29%)
HSVhsv(104, 84%, 51%)
CMYKcmyk(62%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.50, -43.72, 46.58)
CIE-LCHlch(47.50, 63.88, 133.19°)
OKLaboklab(53.31% -0.1203 0.1031)
OKLCHoklch(53.31% 0.158 139.4)
XYZxyz(9.2518, 16.4068, 3.3886)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318115 #651581
analogous
#678115 #318115 #15812F
triadic
#318115 #153181 #811531
tetradic
#318115 #156781 #651581 #812F15
square
#318115 #156781 #651581 #812F15
split-complementary
#318115 #2F1581 #811567
monochromatic
#0A1A04 #1D4C0C #318115 #45B61E #5FDE33

Accessibility & contrast

On white

4.90
#318115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#318115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318115
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318115#FFFFFF#000000##FFFFFF
##3181151.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#277C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #318115;
/* rgb */ color: rgb(49, 129, 21);
/* oklch */ color: oklch(53.3% 0.158 139.4);
Tailwind
colors: {
  custom: {
    50: '#74a65d',
    500: '#318115',
    950: '#000000',
  },
}
SCSS
$custom: #318115;
$custom-light: #74a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#318115",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 104.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.15845,
    "h": 139.4
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#318115
secondary
#963CB6
accent
#39EFC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #318115

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

Preview Lab → · Contrast checker → · Palette generator →

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