#318E18#318E18

#318E18 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.172 H 140.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#318E18
RGBrgb(49, 142, 24)
HSLhsl(107, 71%, 33%)
HSVhsv(107, 83%, 56%)
CMYKcmyk(65.5%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.91, -48.28, 49.77)
CIE-LCHlch(51.91, 69.34, 134.13°)
OKLaboklab(56.96% -0.1325 0.1102)
OKLCHoklch(56.96% 0.172 140.2)
XYZxyz(11.1040, 20.0638, 4.1515)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E18 #75188E
analogous
#6C8E18 #318E18 #188E3A
triadic
#318E18 #18318E #8E1831
tetradic
#318E18 #186C8E #75188E #8E3A18
square
#318E18 #186C8E #75188E #8E3A18
split-complementary
#318E18 #3A188E #8E186C
monochromatic
#0D2506 #1F5A0F #318E18 #43C221 #63DF41

Accessibility & contrast

On white

4.19
#318E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#318E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318E18
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318E18#FFFFFF#000000##000000
##318E181.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#228979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318e18;
/* rgb */ color: rgb(49, 142, 24);
/* oklch */ color: oklch(57.0% 0.172 140.2);
Tailwind
colors: {
  custom: {
    50: '#76b060',
    500: '#318e18',
    950: '#000000',
  },
}
SCSS
$custom: #318e18;
$custom-light: #76b060;
$custom-dark: #000000;
JSON
{
  "hex": "#318e18",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 107.288,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.1723,
    "h": 140.2
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

primary
#318E18
secondary
#A542C0
accent
#3AEEC8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #318E18

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

Preview Lab → · Contrast checker → · Palette generator →

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