#318F15#318F15

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

Color values

HEX#318F15
RGBrgb(49, 143, 21)
HSLhsl(106, 74%, 32%)
HSVhsv(106, 85%, 56%)
CMYKcmyk(65.7%, 0%, 85.3%, 43.9%)
CIE-LABlab(52.23, -48.80, 50.90)
CIE-LCHlch(52.23, 70.51, 133.79°)
OKLaboklab(57.22% -0.134 0.1121)
OKLCHoklch(57.22% 0.175 140.1)
XYZxyz(11.2239, 20.3509, 4.0460)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F15 #73158F
analogous
#6E8F15 #318F15 #158F36
triadic
#318F15 #15318F #8F1531
tetradic
#318F15 #156E8F #73158F #8F3615
square
#318F15 #156E8F #73158F #8F3615
split-complementary
#318F15 #36158F #8F156E
monochromatic
#0C2405 #1F5A0D #318F15 #43C41D #62E23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318F15#FFFFFF#000000##000000
##318F151.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)
#887A25
Tritanopia (blue-blind)
#228A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f15;
/* rgb */ color: rgb(49, 143, 21);
/* oklch */ color: oklch(57.2% 0.175 140.1);
Tailwind
colors: {
  custom: {
    50: '#77b15f',
    500: '#318f15',
    950: '#000000',
  },
}
SCSS
$custom: #318f15;
$custom-light: #77b15f;
$custom-dark: #000000;
JSON
{
  "hex": "#318f15",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 106.23,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.17471,
    "h": 140.1
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#318F15
secondary
#A43EC2
accent
#37F1C6
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #318F15

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

Preview Lab → · Contrast checker → · Palette generator →

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