#318F18#318F18

#318F18 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.173 H 140.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#318F18
RGBrgb(49, 143, 24)
HSLhsl(107, 71%, 33%)
HSVhsv(107, 83%, 56%)
CMYKcmyk(65.7%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.24, -48.64, 50.08)
CIE-LCHlch(52.24, 69.81, 134.16°)
OKLaboklab(57.24% -0.1334 0.1108)
OKLCHoklch(57.24% 0.173 140.3)
XYZxyz(11.2534, 20.3627, 4.2013)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F18 #76188F
analogous
#6C8F18 #318F18 #188F3B
triadic
#318F18 #18318F #8F1831
tetradic
#318F18 #186C8F #76188F #8F3B18
square
#318F18 #186C8F #76188F #8F3B18
split-complementary
#318F18 #3B188F #8F186C
monochromatic
#0D2606 #1F5B0F #318F18 #43C321 #63DF42

Accessibility & contrast

On white

4.14
#318F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#318F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F18
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F18#FFFFFF#000000##000000
##318F181.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#228A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f18;
/* rgb */ color: rgb(49, 143, 24);
/* oklch */ color: oklch(57.2% 0.173 140.3);
Tailwind
colors: {
  custom: {
    50: '#77b161',
    500: '#318f18',
    950: '#000000',
  },
}
SCSS
$custom: #318f18;
$custom-light: #77b161;
$custom-dark: #000000;
JSON
{
  "hex": "#318f18",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 107.395,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.17345,
    "h": 140.3
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#318F18
secondary
#A643C0
accent
#3AEEC8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #318F18

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

Preview Lab → · Contrast checker → · Palette generator →

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