#316A12#316A12

#316A12 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.8% C 0.131 H 137.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#316A12
RGBrgb(49, 106, 18)
HSLhsl(99, 71%, 24%)
HSVhsv(99, 83%, 42%)
CMYKcmyk(53.8%, 0%, 83%, 58.4%)
CIE-LABlab(39.59, -34.82, 40.14)
CIE-LCHlch(39.59, 53.14, 130.94°)
OKLaboklab(46.77% -0.0966 0.0891)
OKLCHoklch(46.77% 0.131 137.3)
XYZxyz(6.5296, 11.0042, 2.3521)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316A12 #4B126A
analogous
#5D6A12 #316A12 #126A1F
triadic
#316A12 #12316A #6A1231
tetradic
#316A12 #125D6A #4B126A #6A1F12
square
#316A12 #125D6A #4B126A #6A1F12
split-complementary
#316A12 #1F126A #6A125D
monochromatic
#0C1A04 #193609 #316A12 #499E1B #61D324

Accessibility & contrast

On white

6.56
#316A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#316A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316A12
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316A12#FFFFFF#000000##FFFFFF
##316A121.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#2D665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #316a12;
/* rgb */ color: rgb(49, 106, 18);
/* oklch */ color: oklch(46.8% 0.131 137.3);
Tailwind
colors: {
  custom: {
    50: '#709558',
    500: '#316a12',
    950: '#000000',
  },
}
SCSS
$custom: #316a12;
$custom-light: #709558;
$custom-dark: #000000;
JSON
{
  "hex": "#316a12",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 98.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46766,
    "c": 0.13145,
    "h": 137.3
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#316A12
secondary
#7C36A2
accent
#3AEEAE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316A12

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

Preview Lab → · Contrast checker → · Palette generator →

#316A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva