#318E1A#318E1A

#318E1A is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.171 H 140.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#318E1A
RGBrgb(49, 142, 26)
HSLhsl(108, 69%, 33%)
HSVhsv(108, 82%, 56%)
CMYKcmyk(65.5%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.92, -48.17, 49.18)
CIE-LCHlch(51.92, 68.84, 134.41°)
OKLaboklab(56.97% -0.132 0.1092)
OKLCHoklch(56.97% 0.171 140.4)
XYZxyz(11.1255, 20.0725, 4.2651)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E1A #771A8E
analogous
#6B8E1A #318E1A #1A8E3D
triadic
#318E1A #1A318E #8E1A31
tetradic
#318E1A #1A6B8E #771A8E #8E3D1A
square
#318E1A #1A6B8E #771A8E #8E3D1A
split-complementary
#318E1A #3D1A8E #8E1A6B
monochromatic
#0D2707 #1F5A11 #318E1A #43C223 #63DD45

Accessibility & contrast

On white

4.19
#318E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#318E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318E1A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318E1A#FFFFFF#000000##000000
##318E1A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#228979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318e1a;
/* rgb */ color: rgb(49, 142, 26);
/* oklch */ color: oklch(57.0% 0.171 140.4);
Tailwind
colors: {
  custom: {
    50: '#76b061',
    500: '#318e1a',
    950: '#000000',
  },
}
SCSS
$custom: #318e1a;
$custom-light: #76b061;
$custom-dark: #000000;
JSON
{
  "hex": "#318e1a",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 108.103,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.17138,
    "h": 140.4
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

primary
#318E1A
secondary
#A645BE
accent
#3CECC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #318E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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