#318D23#318D23

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

Color values

HEX#318D23
RGBrgb(49, 141, 35)
HSLhsl(112, 60%, 35%)
HSVhsv(112, 75%, 55%)
CMYKcmyk(65.2%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.64, -47.18, 45.81)
CIE-LCHlch(51.64, 65.76, 135.84°)
OKLaboklab(56.75% -0.1289 0.1035)
OKLCHoklch(56.75% 0.165 141.2)
XYZxyz(11.0943, 19.8230, 4.8313)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D23 #7F238D
analogous
#668D23 #318D23 #238D4A
triadic
#318D23 #23318D #8D2331
tetradic
#318D23 #23668D #7F238D #8D4A23
square
#318D23 #23668D #7F238D #8D4A23
split-complementary
#318D23 #4A238D #8D2366
monochromatic
#0F2B0B #205C17 #318D23 #42BE2F #66D555

Accessibility & contrast

On white

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

On black

4.96
#318D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318D23
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318D23#FFFFFF#000000##000000
##318D231.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#218878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d23;
/* rgb */ color: rgb(49, 141, 35);
/* oklch */ color: oklch(56.8% 0.165 141.2);
Tailwind
colors: {
  custom: {
    50: '#76af65',
    500: '#318d23',
    950: '#000000',
  },
}
SCSS
$custom: #318d23;
$custom-light: #76af65;
$custom-dark: #000000;
JSON
{
  "hex": "#318d23",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 112.075,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.16532,
    "h": 141.2
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

primary
#318D23
secondary
#AB53B9
accent
#44E3CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318D23

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

Preview Lab → · Contrast checker → · Palette generator →

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