#318F22#318F22

#318F22 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.168 H 141.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#318F22
RGBrgb(49, 143, 34)
HSLhsl(112, 62%, 35%)
HSVhsv(112, 76%, 56%)
CMYKcmyk(65.7%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.30, -47.98, 46.85)
CIE-LCHlch(52.30, 67.06, 135.69°)
OKLaboklab(57.3% -0.1311 0.1055)
OKLCHoklch(57.3% 0.168 141.2)
XYZxyz(11.3772, 20.4123, 4.8534)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F22 #80228F
analogous
#688F22 #318F22 #228F4A
triadic
#318F22 #22318F #8F2231
tetradic
#318F22 #22688F #80228F #8F4A22
square
#318F22 #22688F #80228F #8F4A22
split-complementary
#318F22 #4A228F #8F2268
monochromatic
#0F2C0A #205E16 #318F22 #42C02E #67D755

Accessibility & contrast

On white

4.13
#318F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#318F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F22#FFFFFF#000000##000000
##318F221.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810B
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#208A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f22;
/* rgb */ color: rgb(49, 143, 34);
/* oklch */ color: oklch(57.3% 0.168 141.2);
Tailwind
colors: {
  custom: {
    50: '#76b165',
    500: '#318f22',
    950: '#000000',
  },
}
SCSS
$custom: #318f22;
$custom-light: #76b165;
$custom-dark: #000000;
JSON
{
  "hex": "#318f22",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 111.743,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57298,
    "c": 0.16831,
    "h": 141.2
  },
  "luminance": 0.20413
}

Semantic roles & 50–950 ramp

primary
#318F22
secondary
#AC52BA
accent
#43E5CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #318F22

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

Preview Lab → · Contrast checker → · Palette generator →

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