#318232#318232

#318232 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.140 H 143.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#318232
RGBrgb(49, 130, 50)
HSLhsl(121, 45%, 35%)
HSVhsv(121, 62%, 51%)
CMYKcmyk(62.3%, 0%, 61.5%, 49%)
CIE-LABlab(48.07, -41.50, 35.42)
CIE-LCHlch(48.07, 54.56, 139.52°)
OKLaboklab(53.84% -0.1127 0.0833)
OKLCHoklch(53.84% 0.14 143.5)
XYZxyz(9.8244, 16.8476, 5.7512)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318232 #823181
analogous
#588231 #318232 #31825B
triadic
#318232 #323182 #823231
tetradic
#318232 #315882 #823181 #825B31
square
#318232 #315882 #823181 #825B31
split-complementary
#318232 #5B3182 #823158
monochromatic
#0F2910 #205621 #318232 #42AE43 #68C669

Accessibility & contrast

On white

4.81
#318232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#318232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318232
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318232#FFFFFF#000000##FFFFFF
##3182321.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85762A
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#227E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318232;
/* rgb */ color: rgb(49, 130, 50);
/* oklch */ color: oklch(53.8% 0.140 143.5);
Tailwind
colors: {
  custom: {
    50: '#73a76d',
    500: '#318232',
    950: '#000000',
  },
}
SCSS
$custom: #318232;
$custom-light: #73a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#318232",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 120.741,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.14017,
    "h": 143.5
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#318232
secondary
#AD62AC
accent
#53D3D5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #318232

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

Preview Lab → · Contrast checker → · Palette generator →

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