#318525#318525

#318525 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.154 H 141.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#318525
RGBrgb(49, 133, 37)
HSLhsl(113, 56%, 33%)
HSVhsv(113, 72%, 52%)
CMYKcmyk(63.2%, 0%, 72.2%, 47.8%)
CIE-LABlab(48.96, -44.05, 42.28)
CIE-LCHlch(48.96, 61.05, 136.18°)
OKLaboklab(54.54% -0.1203 0.0964)
OKLCHoklch(54.54% 0.154 141.3)
XYZxyz(9.9876, 17.5607, 4.6131)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318525 #792585
analogous
#618525 #318525 #258549
triadic
#318525 #253185 #852531
tetradic
#318525 #256185 #792585 #854925
square
#318525 #256185 #792585 #854925
split-complementary
#318525 #492585 #852561
monochromatic
#0E250A #1F5518 #318525 #43B532 #64D055

Accessibility & contrast

On white

4.65
#318525 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#318525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318525
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318525#FFFFFF#000000##FFFFFF
##3185251.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887916
Deuteranopia (green-blind)
#7E722E
Tritanopia (blue-blind)
#248172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318525;
/* rgb */ color: rgb(49, 133, 37);
/* oklch */ color: oklch(54.5% 0.154 141.3);
Tailwind
colors: {
  custom: {
    50: '#74a965',
    500: '#318525',
    950: '#000000',
  },
}
SCSS
$custom: #318525;
$custom-light: #74a965;
$custom-dark: #000000;
JSON
{
  "hex": "#318525",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 112.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.15418,
    "h": 141.3
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#318525
secondary
#A852B4
accent
#48E0CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318525

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

Preview Lab → · Contrast checker → · Palette generator →

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