#316F11#316F11

#316F11 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.2% C 0.138 H 137.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#316F11
RGBrgb(49, 111, 17)
HSLhsl(100, 73%, 25%)
HSVhsv(100, 85%, 44%)
CMYKcmyk(55.9%, 0%, 84.7%, 56.5%)
CIE-LABlab(41.31, -36.94, 42.07)
CIE-LCHlch(41.31, 55.99, 131.28°)
OKLaboklab(48.19% -0.1024 0.093)
OKLCHoklch(48.19% 0.138 137.7)
XYZxyz(7.0520, 12.0618, 2.4867)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F11 #4F116F
analogous
#606F11 #316F11 #116F20
triadic
#316F11 #11316F #6F1131
tetradic
#316F11 #11606F #4F116F #6F2011
square
#316F11 #11606F #4F116F #6F2011
split-complementary
#316F11 #20116F #6F1160
monochromatic
#0C1B04 #1A3A09 #316F11 #48A419 #60D921

Accessibility & contrast

On white

6.15
#316F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#316F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F11
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F11#FFFFFF#000000##FFFFFF
##316F111.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#2C6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316f11;
/* rgb */ color: rgb(49, 111, 17);
/* oklch */ color: oklch(48.2% 0.138 137.7);
Tailwind
colors: {
  custom: {
    50: '#719959',
    500: '#316f11',
    950: '#000000',
  },
}
SCSS
$custom: #316f11;
$custom-light: #719959;
$custom-dark: #000000;
JSON
{
  "hex": "#316f11",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 99.574,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.13832,
    "h": 137.7
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#316F11
secondary
#8035A6
accent
#38F0B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316F11

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

Preview Lab → · Contrast checker → · Palette generator →

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