#316311#316311

#316311 is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.8% C 0.123 H 136.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#316311
RGBrgb(49, 99, 17)
HSLhsl(97, 71%, 23%)
HSVhsv(97, 83%, 39%)
CMYKcmyk(50.5%, 0%, 82.8%, 61.2%)
CIE-LABlab(37.15, -31.89, 38.17)
CIE-LCHlch(37.15, 49.74, 129.88°)
OKLaboklab(44.76% -0.0888 0.0848)
OKLCHoklch(44.76% 0.123 136.3)
XYZxyz(5.8295, 9.6167, 2.0792)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316311 #431163
analogous
#5A6311 #316311 #11631A
triadic
#316311 #113163 #631131
tetradic
#316311 #115A63 #431163 #631A11
square
#316311 #115A63 #431163 #631A11
split-complementary
#316311 #1A1163 #63115A
monochromatic
#0D1A04 #172F08 #316311 #4B971A #65CB23

Accessibility & contrast

On white

7.18
#316311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#316311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316311
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316311#FFFFFF#000000##FFFFFF
##3163111.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#2F5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #316311;
/* rgb */ color: rgb(49, 99, 17);
/* oklch */ color: oklch(44.8% 0.123 136.3);
Tailwind
colors: {
  custom: {
    50: '#6f9057',
    500: '#316311',
    950: '#000000',
  },
}
SCSS
$custom: #316311;
$custom-light: #6f9057;
$custom-dark: #000000;
JSON
{
  "hex": "#316311",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 96.585,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44755,
    "c": 0.12284,
    "h": 136.3
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#316311
secondary
#73349B
accent
#3AEDA8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316311

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

Preview Lab → · Contrast checker → · Palette generator →

#316311 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva