#318D25#318D25

#318D25 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.164 H 141.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#318D25
RGBrgb(49, 141, 37)
HSLhsl(113, 58%, 35%)
HSVhsv(113, 74%, 55%)
CMYKcmyk(65.2%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.65, -47.02, 45.06)
CIE-LCHlch(51.65, 65.12, 136.22°)
OKLaboklab(56.77% -0.1283 0.1022)
OKLCHoklch(56.77% 0.164 141.5)
XYZxyz(11.1248, 19.8352, 4.9922)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D25 #81258D
analogous
#658D25 #318D25 #258D4D
triadic
#318D25 #25318D #8D2531
tetradic
#318D25 #25658D #81258D #8D4D25
square
#318D25 #25658D #81258D #8D4D25
split-complementary
#318D25 #4D258D #8D2565
monochromatic
#0F2C0C #205D18 #318D25 #42BD32 #67D359

Accessibility & contrast

On white

4.23
#318D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#318D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318D25
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318D25#FFFFFF#000000##000000
##318D251.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#208979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d25;
/* rgb */ color: rgb(49, 141, 37);
/* oklch */ color: oklch(56.8% 0.164 141.5);
Tailwind
colors: {
  custom: {
    50: '#76af66',
    500: '#318d25',
    950: '#000000',
  },
}
SCSS
$custom: #318d25;
$custom-light: #76af66;
$custom-dark: #000000;
JSON
{
  "hex": "#318d25",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 113.077,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.16408,
    "h": 141.5
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#318D25
secondary
#AD56B8
accent
#46E2D0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318D25

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

Preview Lab → · Contrast checker → · Palette generator →

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