#316D12#316D12

#316D12 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.6% C 0.135 H 137.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#316D12
RGBrgb(49, 109, 18)
HSLhsl(100, 72%, 25%)
HSVhsv(100, 83%, 43%)
CMYKcmyk(55%, 0%, 83.5%, 57.3%)
CIE-LABlab(40.63, -36.07, 41.12)
CIE-LCHlch(40.63, 54.69, 131.26°)
OKLaboklab(47.62% -0.1 0.0912)
OKLCHoklch(47.62% 0.135 137.6)
XYZxyz(6.8442, 11.6334, 2.4570)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316D12 #4E126D
analogous
#5F6D12 #316D12 #126D20
triadic
#316D12 #12316D #6D1231
tetradic
#316D12 #125F6D #4E126D #6D2012
square
#316D12 #125F6D #4E126D #6D2012
split-complementary
#316D12 #20126D #6D125F
monochromatic
#0C1A04 #193809 #316D12 #49A21B #60D623

Accessibility & contrast

On white

6.31
#316D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#316D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316D12
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316D12#FFFFFF#000000##FFFFFF
##316D121.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#2D695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #316d12;
/* rgb */ color: rgb(49, 109, 18);
/* oklch */ color: oklch(47.6% 0.135 137.6);
Tailwind
colors: {
  custom: {
    50: '#709759',
    500: '#316d12',
    950: '#000000',
  },
}
SCSS
$custom: #316d12;
$custom-light: #709759;
$custom-dark: #000000;
JSON
{
  "hex": "#316d12",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 99.56,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.1353,
    "h": 137.6
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#316D12
secondary
#7F37A4
accent
#39EEB1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316D12

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

Preview Lab → · Contrast checker → · Palette generator →

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