#318A34#318A34

#318A34 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.149 H 143.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#318A34
RGBrgb(49, 138, 52)
HSLhsl(122, 48%, 37%)
HSVhsv(122, 64%, 54%)
CMYKcmyk(64.5%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.78, -44.36, 37.57)
CIE-LCHlch(50.78, 58.13, 139.74°)
OKLaboklab(56.09% -0.1203 0.0882)
OKLCHoklch(56.09% 0.149 143.8)
XYZxyz(10.9743, 19.0768, 6.3520)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318A34 #8A3187
analogous
#5B8A31 #318A34 #318A61
triadic
#318A34 #34318A #8A3431
tetradic
#318A34 #315B8A #8A3187 #8A6131
square
#318A34 #315B8A #8A3187 #8A6131
split-complementary
#318A34 #61318A #8A315B
monochromatic
#113012 #215D23 #318A34 #41B745 #6BCA6E

Accessibility & contrast

On white

4.36
#318A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#318A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318A34
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318A34#FFFFFF#000000##000000
##318A341.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D2B
Deuteranopia (green-blind)
#82763B
Tritanopia (blue-blind)
#1E8678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #318a34;
/* rgb */ color: rgb(49, 138, 52);
/* oklch */ color: oklch(56.1% 0.149 143.8);
Tailwind
colors: {
  custom: {
    50: '#74ad6f',
    500: '#318a34',
    950: '#000000',
  },
}
SCSS
$custom: #318a34;
$custom-light: #74ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#318a34",
  "rgb": {
    "r": 49,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 122.022,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.14917,
    "h": 143.8
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#318A34
secondary
#B265AF
accent
#51D3D7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #318A34

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

Preview Lab → · Contrast checker → · Palette generator →

#318A34 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva