#316912#316912

#316912 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.5% C 0.130 H 137.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#316912
RGBrgb(49, 105, 18)
HSLhsl(99, 71%, 24%)
HSVhsv(99, 83%, 41%)
CMYKcmyk(53.3%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.24, -34.40, 39.81)
CIE-LCHlch(39.24, 52.62, 130.83°)
OKLaboklab(46.48% -0.0955 0.0884)
OKLCHoklch(46.48% 0.13 137.2)
XYZxyz(6.4272, 10.7993, 2.3179)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316912 #4A1269
analogous
#5D6912 #316912 #12691F
triadic
#316912 #123169 #691231
tetradic
#316912 #125D69 #4A1269 #691F12
square
#316912 #125D69 #4A1269 #691F12
split-complementary
#316912 #1F1269 #69125D
monochromatic
#0C1A04 #193509 #316912 #499D1B #62D124

Accessibility & contrast

On white

6.65
#316912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#316912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316912
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316912#FFFFFF#000000##FFFFFF
##3169121.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655B1C
Tritanopia (blue-blind)
#2D6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316912;
/* rgb */ color: rgb(49, 105, 18);
/* oklch */ color: oklch(46.5% 0.130 137.2);
Tailwind
colors: {
  custom: {
    50: '#709458',
    500: '#316912',
    950: '#000000',
  },
}
SCSS
$custom: #316912;
$custom-light: #709458;
$custom-dark: #000000;
JSON
{
  "hex": "#316912",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 98.621,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.13016,
    "h": 137.2
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#316912
secondary
#7B36A1
accent
#3AEDAE
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316912

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

Preview Lab → · Contrast checker → · Palette generator →

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