#318345#318345

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

Color values

HEX#318345
RGBrgb(49, 131, 69)
HSLhsl(135, 46%, 35%)
HSVhsv(135, 63%, 51%)
CMYKcmyk(62.6%, 0%, 47.3%, 48.6%)
CIE-LABlab(48.65, -39.10, 26.26)
CIE-LCHlch(48.65, 47.10, 146.11°)
OKLaboklab(54.41% -0.1056 0.0643)
OKLCHoklch(54.41% 0.124 148.7)
XYZxyz(10.4564, 17.3142, 8.4200)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318345 #83316F
analogous
#468331 #318345 #31836E
triadic
#318345 #453183 #834531
tetradic
#318345 #314683 #83316F #836E31
square
#318345 #314683 #83316F #836E31
split-complementary
#318345 #6E3183 #833146
monochromatic
#102A16 #20562E #318345 #42B05C #68C67F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318345#FFFFFF#000000##FFFFFF
##3183451.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)
#847840
Deuteranopia (green-blind)
#7A7149
Tritanopia (blue-blind)
#1A8074
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318345;
/* rgb */ color: rgb(49, 131, 69);
/* oklch */ color: oklch(54.4% 0.124 148.7);
Tailwind
colors: {
  custom: {
    50: '#72a87a',
    500: '#318345',
    950: '#000000',
  },
}
SCSS
$custom: #318345;
$custom-light: #72a87a;
$custom-dark: #000000;
JSON
{
  "hex": "#318345",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 69
  },
  "hsl": {
    "h": 134.634,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.12368,
    "h": 148.7
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#318345
secondary
#AE629B
accent
#53B5D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #318345

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

Preview Lab → · Contrast checker → · Palette generator →

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