#318622#318622

#318622 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.157 H 140.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#318622
RGBrgb(49, 134, 34)
HSLhsl(111, 60%, 33%)
HSVhsv(111, 75%, 53%)
CMYKcmyk(63.4%, 0%, 74.6%, 47.5%)
CIE-LABlab(49.27, -44.68, 43.80)
CIE-LCHlch(49.27, 62.57, 135.57°)
OKLaboklab(54.79% -0.1222 0.0992)
OKLCHoklch(54.79% 0.157 140.9)
XYZxyz(10.0800, 17.8177, 4.4210)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318622 #772286
analogous
#638622 #318622 #228645
triadic
#318622 #223186 #862231
tetradic
#318622 #226386 #772286 #864522
square
#318622 #226386 #772286 #864522
split-complementary
#318622 #452286 #862263
monochromatic
#0D2409 #1F5516 #318622 #43B72E #63D350

Accessibility & contrast

On white

4.60
#318622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#318622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318622
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318622#FFFFFF#000000##FFFFFF
##3186221.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7910
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#248272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #318622;
/* rgb */ color: rgb(49, 134, 34);
/* oklch */ color: oklch(54.8% 0.157 140.9);
Tailwind
colors: {
  custom: {
    50: '#74aa64',
    500: '#318622',
    950: '#000000',
  },
}
SCSS
$custom: #318622;
$custom-light: #74aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#318622",
  "rgb": {
    "r": 49,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 111,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.15739,
    "h": 140.9
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#318622
secondary
#A64EB6
accent
#45E3CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318622

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

Preview Lab → · Contrast checker → · Palette generator →

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