#318011#318011

#318011 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.159 H 139.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#318011
RGBrgb(49, 128, 17)
HSLhsl(103, 77%, 28%)
HSVhsv(103, 87%, 50%)
CMYKcmyk(61.7%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.15, -43.56, 47.38)
CIE-LCHlch(47.15, 64.36, 132.59°)
OKLaboklab(53% -0.1201 0.1042)
OKLCHoklch(53% 0.159 139.1)
XYZxyz(9.0866, 16.1310, 3.1649)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318011 #601180
analogous
#688011 #318011 #118028
triadic
#318011 #113180 #801131
tetradic
#318011 #116880 #601180 #802811
square
#318011 #116880 #601180 #802811
split-complementary
#318011 #281180 #801168
monochromatic
#0A1B04 #1C4A0A #318011 #46B618 #5EE329

Accessibility & contrast

On white

4.97
#318011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#318011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318011
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318011#FFFFFF#000000##FFFFFF
##3180111.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#287B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #318011;
/* rgb */ color: rgb(49, 128, 17);
/* oklch */ color: oklch(53.0% 0.159 139.1);
Tailwind
colors: {
  custom: {
    50: '#74a65b',
    500: '#318011',
    950: '#000000',
  },
}
SCSS
$custom: #318011;
$custom-light: #74a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#318011",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 102.703,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.15898,
    "h": 139.1
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#318011
secondary
#9137B6
accent
#35F3BC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #318011

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

Preview Lab → · Contrast checker → · Palette generator →

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