#318427#318427

#318427 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.152 H 141.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#318427
RGBrgb(49, 132, 39)
HSLhsl(114, 54%, 34%)
HSVhsv(114, 70%, 52%)
CMYKcmyk(62.9%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.64, -43.48, 41.10)
CIE-LCHlch(48.64, 59.83, 136.62°)
OKLaboklab(54.28% -0.1187 0.0942)
OKLCHoklch(54.28% 0.152 141.6)
XYZxyz(9.8836, 17.3010, 4.7376)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318427 #7A2784
analogous
#5F8427 #318427 #27844B
triadic
#318427 #273184 #842731
tetradic
#318427 #275F84 #7A2784 #844B27
square
#318427 #275F84 #7A2784 #844B27
split-complementary
#318427 #4B2784 #84275F
monochromatic
#0E260B #1F5519 #318427 #43B335 #64CE58

Accessibility & contrast

On white

4.71
#318427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#318427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318427
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318427#FFFFFF#000000##FFFFFF
##3184271.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781A
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#248071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #318427;
/* rgb */ color: rgb(49, 132, 39);
/* oklch */ color: oklch(54.3% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#74a966',
    500: '#318427',
    950: '#000000',
  },
}
SCSS
$custom: #318427;
$custom-light: #74a966;
$custom-dark: #000000;
JSON
{
  "hex": "#318427",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 113.548,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.15151,
    "h": 141.6
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#318427
secondary
#A854B2
accent
#4ADECE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318427

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

Preview Lab → · Contrast checker → · Palette generator →

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