#316D11#316D11

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

Color values

HEX#316D11
RGBrgb(49, 109, 17)
HSLhsl(99, 73%, 25%)
HSVhsv(99, 84%, 43%)
CMYKcmyk(55%, 0%, 84.4%, 57.3%)
CIE-LABlab(40.62, -36.13, 41.43)
CIE-LCHlch(40.62, 54.97, 131.09°)
OKLaboklab(47.62% -0.1002 0.0917)
OKLCHoklch(47.62% 0.136 137.5)
XYZxyz(6.8362, 11.6302, 2.4148)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316D11 #4D116D
analogous
#5F6D11 #316D11 #116D1F
triadic
#316D11 #11316D #6D1131
tetradic
#316D11 #115F6D #4D116D #6D1F11
square
#316D11 #115F6D #4D116D #6D1F11
split-complementary
#316D11 #1F116D #6D115F
monochromatic
#0C1A04 #193809 #316D11 #49A219 #61D722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316D11#FFFFFF#000000##FFFFFF
##316D111.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)
#695E1C
Tritanopia (blue-blind)
#2D695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #316d11;
/* rgb */ color: rgb(49, 109, 17);
/* oklch */ color: oklch(47.6% 0.136 137.5);
Tailwind
colors: {
  custom: {
    50: '#709758',
    500: '#316d11',
    950: '#000000',
  },
}
SCSS
$custom: #316d11;
$custom-light: #709758;
$custom-dark: #000000;
JSON
{
  "hex": "#316d11",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 17
  },
  "hsl": {
    "h": 99.13,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.1358,
    "h": 137.5
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#316D11
secondary
#7E35A5
accent
#38F0B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316D11

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

Preview Lab → · Contrast checker → · Palette generator →

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