#316B11#316B11

#316B11 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.0% C 0.133 H 137.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#316B11
RGBrgb(49, 107, 17)
HSLhsl(99, 73%, 24%)
HSVhsv(99, 84%, 42%)
CMYKcmyk(54.2%, 0%, 84.1%, 58%)
CIE-LABlab(39.93, -35.30, 40.79)
CIE-LCHlch(39.93, 53.94, 130.87°)
OKLaboklab(47.04% -0.098 0.0903)
OKLCHoklch(47.04% 0.133 137.3)
XYZxyz(6.6253, 11.2083, 2.3445)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316B11 #4B116B
analogous
#5E6B11 #316B11 #116B1E
triadic
#316B11 #11316B #6B1131
tetradic
#316B11 #115E6B #4B116B #6B1E11
square
#316B11 #115E6B #4B116B #6B1E11
split-complementary
#316B11 #1E116B #6B115E
monochromatic
#0C1A04 #193609 #316B11 #49A019 #61D522

Accessibility & contrast

On white

6.48
#316B11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#316B11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316B11
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316B11#FFFFFF#000000##FFFFFF
##316B111.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#2D675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #316b11;
/* rgb */ color: rgb(49, 107, 17);
/* oklch */ color: oklch(47.0% 0.133 137.3);
Tailwind
colors: {
  custom: {
    50: '#709658',
    500: '#316b11',
    950: '#000000',
  },
}
SCSS
$custom: #316b11;
$custom-light: #709658;
$custom-dark: #000000;
JSON
{
  "hex": "#316b11",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 17
  },
  "hsl": {
    "h": 98.667,
    "s": 72.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47045,
    "c": 0.13325,
    "h": 137.3
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#316B11
secondary
#7C35A3
accent
#39EFAE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316B11

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

Preview Lab → · Contrast checker → · Palette generator →

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