#318B2F#318B2F

#318B2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.154 H 142.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#318B2F
RGBrgb(49, 139, 47)
HSLhsl(119, 49%, 36%)
HSVhsv(119, 66%, 55%)
CMYKcmyk(64.7%, 0%, 66.2%, 45.5%)
CIE-LABlab(51.06, -45.31, 40.21)
CIE-LCHlch(51.06, 60.58, 138.42°)
OKLaboklab(56.31% -0.1232 0.0933)
OKLCHoklch(56.31% 0.155 142.9)
XYZxyz(11.0117, 19.3224, 5.8381)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318B2F #892F8B
analogous
#5F8B2F #318B2F #2F8B5B
triadic
#318B2F #2F318B #8B2F31
tetradic
#318B2F #2F5F8B #892F8B #8B5B2F
square
#318B2F #2F5F8B #892F8B #8B5B2F
split-complementary
#318B2F #5B2F8B #8B2F5F
monochromatic
#113010 #215D20 #318B2F #41B93E #6BCC68

Accessibility & contrast

On white

4.32
#318B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#318B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318B2F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318B2F#FFFFFF#000000##000000
##318B2F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#1F8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #318b2f;
/* rgb */ color: rgb(49, 139, 47);
/* oklch */ color: oklch(56.3% 0.154 142.9);
Tailwind
colors: {
  custom: {
    50: '#75ae6c',
    500: '#318b2f',
    950: '#000000',
  },
}
SCSS
$custom: #318b2f;
$custom-light: #75ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#318b2f",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 118.696,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56307,
    "c": 0.1545,
    "h": 142.9
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#318B2F
secondary
#B163B3
accent
#4FD9D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #318B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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