#318415#318415

#318415 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.162 H 139.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#318415
RGBrgb(49, 132, 21)
HSLhsl(105, 73%, 30%)
HSVhsv(105, 84%, 52%)
CMYKcmyk(62.9%, 0%, 84.1%, 48.2%)
CIE-LABlab(48.52, -44.83, 47.52)
CIE-LCHlch(48.52, 65.33, 133.33°)
OKLaboklab(54.15% -0.1233 0.105)
OKLCHoklch(54.15% 0.162 139.6)
XYZxyz(9.6528, 17.2087, 3.5223)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318415 #681584
analogous
#688415 #318415 #158431
triadic
#318415 #153184 #841531
tetradic
#318415 #156884 #681584 #843115
square
#318415 #156884 #681584 #843115
split-complementary
#318415 #311584 #841568
monochromatic
#0A1A04 #1D4F0D #318415 #45B91D #60DF35

Accessibility & contrast

On white

4.73
#318415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#318415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318415
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318415#FFFFFF#000000##FFFFFF
##3184151.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#267F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #318415;
/* rgb */ color: rgb(49, 132, 21);
/* oklch */ color: oklch(54.1% 0.162 139.6);
Tailwind
colors: {
  custom: {
    50: '#75a95e',
    500: '#318415',
    950: '#000000',
  },
}
SCSS
$custom: #318415;
$custom-light: #75a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#318415",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 104.865,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.16201,
    "h": 139.6
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#318415
secondary
#993CB9
accent
#39EFC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318415

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

Preview Lab → · Contrast checker → · Palette generator →

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