#318428#318428

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

Color values

HEX#318428
RGBrgb(49, 132, 40)
HSLhsl(114, 53%, 34%)
HSVhsv(114, 70%, 52%)
CMYKcmyk(62.9%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.65, -43.39, 40.68)
CIE-LCHlch(48.65, 59.47, 136.85°)
OKLaboklab(54.29% -0.1184 0.0934)
OKLCHoklch(54.29% 0.151 141.7)
XYZxyz(9.9004, 17.3078, 4.8261)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318428 #7B2884
analogous
#5F8428 #318428 #28844D
triadic
#318428 #283184 #842831
tetradic
#318428 #285F84 #7B2884 #844D28
square
#318428 #285F84 #7B2884 #844D28
split-complementary
#318428 #4D2884 #84285F
monochromatic
#0E260C #20551A #318428 #42B336 #65CD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318428#FFFFFF#000000##FFFFFF
##3184281.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)
#87781B
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#238071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318428;
/* rgb */ color: rgb(49, 132, 40);
/* oklch */ color: oklch(54.3% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#74a967',
    500: '#318428',
    950: '#000000',
  },
}
SCSS
$custom: #318428;
$custom-light: #74a967;
$custom-dark: #000000;
JSON
{
  "hex": "#318428",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 114.13,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.15079,
    "h": 141.7
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#318428
secondary
#A956B2
accent
#4BDDCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318428

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

Preview Lab → · Contrast checker → · Palette generator →

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