#318A22#318A22

#318A22 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.162 H 141.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#318A22
RGBrgb(49, 138, 34)
HSLhsl(111, 60%, 34%)
HSVhsv(111, 75%, 54%)
CMYKcmyk(64.5%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.62, -46.16, 45.16)
CIE-LCHlch(50.62, 64.58, 135.63°)
OKLaboklab(55.91% -0.1262 0.102)
OKLCHoklch(55.91% 0.162 141.1)
XYZxyz(10.6433, 18.9444, 4.6088)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318A22 #7B228A
analogous
#658A22 #318A22 #228A47
triadic
#318A22 #22318A #8A2231
tetradic
#318A22 #22658A #7B228A #8A4722
square
#318A22 #22658A #7B228A #8A4722
split-complementary
#318A22 #47228A #8A2265
monochromatic
#0E280A #205916 #318A22 #42BB2E #65D452

Accessibility & contrast

On white

4.39
#318A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#318A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318A22
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318A22#FFFFFF#000000##000000
##318A221.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#228676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #318a22;
/* rgb */ color: rgb(49, 138, 34);
/* oklch */ color: oklch(55.9% 0.162 141.1);
Tailwind
colors: {
  custom: {
    50: '#75ad64',
    500: '#318a22',
    950: '#000000',
  },
}
SCSS
$custom: #318a22;
$custom-light: #75ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#318a22",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 111.346,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.16229,
    "h": 141.1
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#318A22
secondary
#A950B8
accent
#44E4CD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318A22

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

Preview Lab → · Contrast checker → · Palette generator →

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