#318318#318318

#318318 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.159 H 139.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#318318
RGBrgb(49, 131, 24)
HSLhsl(106, 69%, 30%)
HSVhsv(106, 82%, 51%)
CMYKcmyk(62.6%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.20, -44.29, 46.30)
CIE-LCHlch(48.20, 64.07, 133.73°)
OKLaboklab(53.88% -0.1217 0.1029)
OKLCHoklch(53.88% 0.159 139.8)
XYZxyz(9.5474, 16.9506, 3.6326)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318318 #6A1883
analogous
#668318 #318318 #188334
triadic
#318318 #183183 #831831
tetradic
#318318 #186683 #6A1883 #833418
square
#318318 #186683 #6A1883 #833418
split-complementary
#318318 #341883 #831866
monochromatic
#0A1C05 #1E4F0F #318318 #44B721 #60DB3A

Accessibility & contrast

On white

4.78
#318318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#318318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318318
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318318#FFFFFF#000000##FFFFFF
##3183181.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#267E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318318;
/* rgb */ color: rgb(49, 131, 24);
/* oklch */ color: oklch(53.9% 0.159 139.8);
Tailwind
colors: {
  custom: {
    50: '#74a85f',
    500: '#318318',
    950: '#000000',
  },
}
SCSS
$custom: #318318;
$custom-light: #74a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#318318",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 105.981,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.15941,
    "h": 139.8
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#318318
secondary
#9B40B7
accent
#3CECC3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318318

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

Preview Lab → · Contrast checker → · Palette generator →

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