#318331#318331

#318331 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.142 H 143.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#318331
RGBrgb(49, 131, 49)
HSLhsl(120, 46%, 35%)
HSVhsv(120, 63%, 51%)
CMYKcmyk(62.6%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.39, -42.02, 36.28)
CIE-LCHlch(48.39, 55.51, 139.19°)
OKLaboklab(54.11% -0.1141 0.0851)
OKLCHoklch(54.11% 0.142 143.3)
XYZxyz(9.9367, 17.1064, 5.6833)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318331 #833183
analogous
#5A8331 #318331 #31835A
triadic
#318331 #313183 #833131
tetradic
#318331 #315A83 #833183 #835A31
square
#318331 #315A83 #833183 #835A31
split-complementary
#318331 #5A3183 #83315A
monochromatic
#102A10 #205620 #318331 #42B042 #68C668

Accessibility & contrast

On white

4.75
#318331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#318331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318331
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318331#FFFFFF#000000##FFFFFF
##3183311.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#227F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #318331;
/* rgb */ color: rgb(49, 131, 49);
/* oklch */ color: oklch(54.1% 0.142 143.3);
Tailwind
colors: {
  custom: {
    50: '#73a86c',
    500: '#318331',
    950: '#000000',
  },
}
SCSS
$custom: #318331;
$custom-light: #73a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#318331",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.14237,
    "h": 143.3
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#318331
secondary
#AE62AE
accent
#53D5D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #318331

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

Preview Lab → · Contrast checker → · Palette generator →

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