#318F19#318F19

#318F19 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.173 H 140.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#318F19
RGBrgb(49, 143, 25)
HSLhsl(108, 70%, 33%)
HSVhsv(108, 83%, 56%)
CMYKcmyk(65.7%, 0%, 82.5%, 43.9%)
CIE-LABlab(52.25, -48.58, 49.79)
CIE-LCHlch(52.25, 69.57, 134.30°)
OKLaboklab(57.24% -0.1332 0.1104)
OKLCHoklch(57.24% 0.173 140.4)
XYZxyz(11.2640, 20.3670, 4.2571)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F19 #77198F
analogous
#6C8F19 #318F19 #198F3C
triadic
#318F19 #19318F #8F1931
tetradic
#318F19 #196C8F #77198F #8F3C19
square
#318F19 #196C8F #77198F #8F3C19
split-complementary
#318F19 #3C198F #8F196C
monochromatic
#0D2707 #1F5B10 #318F19 #43C322 #63DE44

Accessibility & contrast

On white

4.14
#318F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#318F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F19
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F19#FFFFFF#000000##000000
##318F191.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#228A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f19;
/* rgb */ color: rgb(49, 143, 25);
/* oklch */ color: oklch(57.2% 0.173 140.4);
Tailwind
colors: {
  custom: {
    50: '#77b161',
    500: '#318f19',
    950: '#000000',
  },
}
SCSS
$custom: #318f19;
$custom-light: #77b161;
$custom-dark: #000000;
JSON
{
  "hex": "#318f19",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 107.797,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.17301,
    "h": 140.4
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#318F19
secondary
#A644BF
accent
#3BEDC9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #318F19

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

Preview Lab → · Contrast checker → · Palette generator →

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