#318822#318822

#318822 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.160 H 141.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#318822
RGBrgb(49, 136, 34)
HSLhsl(111, 60%, 33%)
HSVhsv(111, 75%, 53%)
CMYKcmyk(64%, 0%, 75%, 46.7%)
CIE-LABlab(49.95, -45.43, 44.48)
CIE-LCHlch(49.95, 63.58, 135.60°)
OKLaboklab(55.35% -0.1242 0.1006)
OKLCHoklch(55.35% 0.16 141)
XYZxyz(10.3590, 18.3758, 4.5140)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318822 #792288
analogous
#648822 #318822 #228846
triadic
#318822 #223188 #882231
tetradic
#318822 #226488 #792288 #884622
square
#318822 #226488 #792288 #884622
split-complementary
#318822 #462288 #882264
monochromatic
#0E260A #1F5716 #318822 #43B92E #64D351

Accessibility & contrast

On white

4.49
#318822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#318822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318822
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318822#FFFFFF#000000##000000
##3188221.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0F
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#238474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #318822;
/* rgb */ color: rgb(49, 136, 34);
/* oklch */ color: oklch(55.4% 0.160 141.0);
Tailwind
colors: {
  custom: {
    50: '#75ac64',
    500: '#318822',
    950: '#000000',
  },
}
SCSS
$custom: #318822;
$custom-light: #75ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#318822",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 111.176,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.15985,
    "h": 141
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#318822
secondary
#A84FB7
accent
#45E3CC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318822

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

Preview Lab → · Contrast checker → · Palette generator →

#318822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva