#318F2B#318F2B

#318F2B is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.163 H 142.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#318F2B
RGBrgb(49, 143, 43)
HSLhsl(116, 54%, 36%)
HSVhsv(116, 70%, 56%)
CMYKcmyk(65.7%, 0%, 69.9%, 43.9%)
CIE-LABlab(52.37, -47.21, 43.37)
CIE-LCHlch(52.37, 64.10, 137.43°)
OKLaboklab(57.37% -0.1285 0.0995)
OKLCHoklch(57.37% 0.163 142.3)
XYZxyz(11.5245, 20.4712, 5.6290)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F2B #892B8F
analogous
#638F2B #318F2B #2B8F57
triadic
#318F2B #2B318F #8F2B31
tetradic
#318F2B #2B638F #892B8F #8F572B
square
#318F2B #2B638F #892B8F #8F572B
split-complementary
#318F2B #572B8F #8F2B63
monochromatic
#11310F #21601D #318F2B #41BE39 #6BD064

Accessibility & contrast

On white

4.12
#318F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#318F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F2B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F2B#FFFFFF#000000##000000
##318F2B1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821D
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#1E8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f2b;
/* rgb */ color: rgb(49, 143, 43);
/* oklch */ color: oklch(57.4% 0.163 142.3);
Tailwind
colors: {
  custom: {
    50: '#76b16a',
    500: '#318f2b',
    950: '#000000',
  },
}
SCSS
$custom: #318f2b;
$custom-light: #76b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#318f2b",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 116.4,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.16251,
    "h": 142.3
  },
  "luminance": 0.20472
}

Semantic roles & 50–950 ramp

primary
#318F2B
secondary
#B15FB7
accent
#4BDDD4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #318F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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