#318A1C#318A1C

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

Color values

HEX#318A1C
RGBrgb(49, 138, 28)
HSLhsl(109, 66%, 33%)
HSVhsv(109, 80%, 54%)
CMYKcmyk(64.5%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.58, -46.60, 47.27)
CIE-LCHlch(50.58, 66.38, 134.59°)
OKLaboklab(55.87% -0.1277 0.1055)
OKLCHoklch(55.87% 0.166 140.4)
XYZxyz(10.5642, 18.9127, 4.1922)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318A1C #751C8A
analogous
#688A1C #318A1C #1C8A3E
triadic
#318A1C #1C318A #8A1C31
tetradic
#318A1C #1C688A #751C8A #8A3E1C
square
#318A1C #1C688A #751C8A #8A3E1C
split-complementary
#318A1C #3E1C8A #8A1C68
monochromatic
#0D2407 #1F5712 #318A1C #43BD26 #63DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318A1C#FFFFFF#000000##000000
##318A1C1.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)
#837629
Tritanopia (blue-blind)
#238575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #318a1c;
/* rgb */ color: rgb(49, 138, 28);
/* oklch */ color: oklch(55.9% 0.166 140.4);
Tailwind
colors: {
  custom: {
    50: '#75ad61',
    500: '#318a1c',
    950: '#000000',
  },
}
SCSS
$custom: #318a1c;
$custom-light: #75ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#318a1c",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 108.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.16569,
    "h": 140.4
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#318A1C
secondary
#A546BB
accent
#3FE9C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #318A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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