#318218#318218

#318218 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.158 H 139.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#318218
RGBrgb(49, 130, 24)
HSLhsl(106, 69%, 30%)
HSVhsv(106, 82%, 51%)
CMYKcmyk(62.3%, 0%, 81.5%, 49%)
CIE-LABlab(47.86, -43.92, 45.98)
CIE-LCHlch(47.86, 63.58, 133.68°)
OKLaboklab(53.6% -0.1207 0.1023)
OKLCHoklch(53.6% 0.158 139.7)
XYZxyz(9.4137, 16.6833, 3.5881)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318218 #691882
analogous
#668218 #318218 #188234
triadic
#318218 #183182 #821831
tetradic
#318218 #186682 #691882 #823418
square
#318218 #186682 #691882 #823418
split-complementary
#318218 #341882 #821866
monochromatic
#0A1B05 #1E4E0E #318218 #44B622 #60DB3A

Accessibility & contrast

On white

4.84
#318218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#318218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318218
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318218#FFFFFF#000000##FFFFFF
##3182181.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#267D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318218;
/* rgb */ color: rgb(49, 130, 24);
/* oklch */ color: oklch(53.6% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#74a75f',
    500: '#318218',
    950: '#000000',
  },
}
SCSS
$custom: #318218;
$custom-light: #74a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#318218",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 105.849,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53604,
    "c": 0.15821,
    "h": 139.7
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#318218
secondary
#9A40B6
accent
#3CECC2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #318218

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

Preview Lab → · Contrast checker → · Palette generator →

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