#318A1B#318A1B

#318A1B is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.166 H 140.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#318A1B
RGBrgb(49, 138, 27)
HSLhsl(108, 67%, 32%)
HSVhsv(108, 80%, 54%)
CMYKcmyk(64.5%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.58, -46.67, 47.59)
CIE-LCHlch(50.58, 66.66, 134.44°)
OKLaboklab(55.86% -0.128 0.1061)
OKLCHoklch(55.86% 0.166 140.3)
XYZxyz(10.5524, 18.9080, 4.1302)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318A1B #741B8A
analogous
#698A1B #318A1B #1B8A3C
triadic
#318A1B #1B318A #8A1B31
tetradic
#318A1B #1B698A #741B8A #8A3C1B
square
#318A1B #1B698A #741B8A #8A3C1B
split-complementary
#318A1B #3C1B8A #8A1B69
monochromatic
#0D2407 #1F5711 #318A1B #43BD25 #63DB45

Accessibility & contrast

On white

4.39
#318A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#318A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318A1B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318A1B#FFFFFF#000000##000000
##318A1B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#238575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #318a1b;
/* rgb */ color: rgb(49, 138, 27);
/* oklch */ color: oklch(55.9% 0.166 140.3);
Tailwind
colors: {
  custom: {
    50: '#75ad61',
    500: '#318a1b',
    950: '#000000',
  },
}
SCSS
$custom: #318a1b;
$custom-light: #75ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#318a1b",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 108.108,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5586,
    "c": 0.16621,
    "h": 140.3
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#318A1B
secondary
#A445BC
accent
#3EEAC8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #318A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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