#318012#318012

#318012 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#318012
RGBrgb(49, 128, 18)
HSLhsl(103, 75%, 29%)
HSVhsv(103, 86%, 50%)
CMYKcmyk(61.7%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.15, -43.51, 47.11)
CIE-LCHlch(47.15, 64.13, 132.72°)
OKLaboklab(53.01% -0.1199 0.1038)
OKLCHoklch(53.01% 0.159 139.1)
XYZxyz(9.0946, 16.1342, 3.2071)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318012 #611280
analogous
#688012 #318012 #12802A
triadic
#318012 #123180 #801231
tetradic
#318012 #126880 #611280 #802A12
square
#318012 #126880 #611280 #802A12
split-complementary
#318012 #2A1280 #801268
monochromatic
#0A1B04 #1C4A0A #318012 #46B61A #5EE12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318012#FFFFFF#000000##FFFFFF
##3180121.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: #318012;
/* rgb */ color: rgb(49, 128, 18);
/* oklch */ color: oklch(53.0% 0.159 139.1);
Tailwind
colors: {
  custom: {
    50: '#74a65c',
    500: '#318012',
    950: '#000000',
  },
}
SCSS
$custom: #318012;
$custom-light: #74a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#318012",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 103.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.15857,
    "h": 139.1
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#318012
secondary
#9238B6
accent
#36F2BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #318012

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

Preview Lab → · Contrast checker → · Palette generator →

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