#318521#318521

#318521 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.157 H 140.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#318521
RGBrgb(49, 133, 33)
HSLhsl(110, 60%, 33%)
HSVhsv(110, 75%, 52%)
CMYKcmyk(63.2%, 0%, 75.2%, 47.8%)
CIE-LABlab(48.93, -44.39, 43.84)
CIE-LCHlch(48.93, 62.39, 135.36°)
OKLaboklab(54.51% -0.1215 0.0991)
OKLCHoklch(54.51% 0.157 140.8)
XYZxyz(9.9282, 17.5369, 4.3003)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318521 #752185
analogous
#638521 #318521 #218543
triadic
#318521 #213185 #852131
tetradic
#318521 #216385 #752185 #854321
square
#318521 #216385 #752185 #854321
split-complementary
#318521 #432185 #852163
monochromatic
#0D2309 #1F5415 #318521 #43B62D #63D34D

Accessibility & contrast

On white

4.66
#318521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#318521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318521
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318521#FFFFFF#000000##FFFFFF
##3185211.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89780F
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#248172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318521;
/* rgb */ color: rgb(49, 133, 33);
/* oklch */ color: oklch(54.5% 0.157 140.8);
Tailwind
colors: {
  custom: {
    50: '#74a963',
    500: '#318521',
    950: '#000000',
  },
}
SCSS
$custom: #318521;
$custom-light: #74a963;
$custom-dark: #000000;
JSON
{
  "hex": "#318521",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 110.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.15679,
    "h": 140.8
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#318521
secondary
#A54CB6
accent
#44E3CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318521

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

Preview Lab → · Contrast checker → · Palette generator →

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