#318E1B#318E1B

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

Color values

HEX#318E1B
RGBrgb(49, 142, 27)
HSLhsl(109, 68%, 33%)
HSVhsv(109, 81%, 56%)
CMYKcmyk(65.5%, 0%, 81%, 44.3%)
CIE-LABlab(51.92, -48.11, 48.87)
CIE-LCHlch(51.92, 68.58, 134.55°)
OKLaboklab(56.97% -0.1318 0.1088)
OKLCHoklch(56.97% 0.171 140.5)
XYZxyz(11.1369, 20.0770, 4.3250)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E1B #781B8E
analogous
#6A8E1B #318E1B #1B8E3F
triadic
#318E1B #1B318E #8E1B31
tetradic
#318E1B #1B6A8E #781B8E #8E3F1B
square
#318E1B #1B6A8E #781B8E #8E3F1B
split-complementary
#318E1B #3F1B8E #8E1B6A
monochromatic
#0E2707 #1F5B11 #318E1B #43C125 #64DC47

Accessibility & contrast

On white

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

On black

5.02
#318E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318E1B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318E1B#FFFFFF#000000##000000
##318E1B1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #318e1b;
/* rgb */ color: rgb(49, 142, 27);
/* oklch */ color: oklch(57.0% 0.171 140.5);
Tailwind
colors: {
  custom: {
    50: '#76b062',
    500: '#318e1b',
    950: '#000000',
  },
}
SCSS
$custom: #318e1b;
$custom-light: #76b062;
$custom-dark: #000000;
JSON
{
  "hex": "#318e1b",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 108.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.1709,
    "h": 140.5
  },
  "luminance": 0.20078
}

Semantic roles & 50–950 ramp

primary
#318E1B
secondary
#A747BE
accent
#3DEBCA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #318E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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