#318E2A#318E2A

#318E2A is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.162 H 142.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#318E2A
RGBrgb(49, 142, 42)
HSLhsl(116, 54%, 36%)
HSVhsv(116, 70%, 56%)
CMYKcmyk(65.5%, 0%, 70.4%, 44.3%)
CIE-LABlab(52.02, -46.93, 43.42)
CIE-LCHlch(52.02, 63.94, 137.23°)
OKLaboklab(57.09% -0.1278 0.0995)
OKLCHoklch(57.09% 0.162 142.1)
XYZxyz(11.3569, 20.1650, 5.4838)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E2A #872A8E
analogous
#638E2A #318E2A #2A8E55
triadic
#318E2A #2A318E #8E2A31
tetradic
#318E2A #2A638E #872A8E #8E552A
square
#318E2A #2A638E #872A8E #8E552A
split-complementary
#318E2A #552A8E #8E2A63
monochromatic
#10300E #215F1C #318E2A #41BD38 #6AD162

Accessibility & contrast

On white

4.17
#318E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#318E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318E2A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318E2A#FFFFFF#000000##000000
##318E2A1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811B
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#1F8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318e2a;
/* rgb */ color: rgb(49, 142, 42);
/* oklch */ color: oklch(57.1% 0.162 142.1);
Tailwind
colors: {
  custom: {
    50: '#76b069',
    500: '#318e2a',
    950: '#000000',
  },
}
SCSS
$custom: #318e2a;
$custom-light: #76b069;
$custom-dark: #000000;
JSON
{
  "hex": "#318e2a",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 115.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.16197,
    "h": 142.1
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#318E2A
secondary
#B05DB6
accent
#4ADED3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #318E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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