#316310#316310

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

Color values

HEX#316310
RGBrgb(49, 99, 16)
HSLhsl(96, 72%, 23%)
HSVhsv(96, 84%, 39%)
CMYKcmyk(50.5%, 0%, 83.8%, 61.2%)
CIE-LABlab(37.14, -31.96, 38.51)
CIE-LCHlch(37.14, 50.04, 129.69°)
OKLaboklab(44.75% -0.0891 0.0854)
OKLCHoklch(44.75% 0.123 136.2)
XYZxyz(5.8218, 9.6137, 2.0390)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316310 #421063
analogous
#5A6310 #316310 #106319
triadic
#316310 #103163 #631031
tetradic
#316310 #105A63 #421063 #631910
square
#316310 #105A63 #421063 #631910
split-complementary
#316310 #191063 #63105A
monochromatic
#0D1A04 #172E07 #316310 #4B9819 #65CC21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316310#FFFFFF#000000##FFFFFF
##3163101.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)
#605619
Tritanopia (blue-blind)
#2F5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #316310;
/* rgb */ color: rgb(49, 99, 16);
/* oklch */ color: oklch(44.7% 0.123 136.2);
Tailwind
colors: {
  custom: {
    50: '#6f9056',
    500: '#316310',
    950: '#000000',
  },
}
SCSS
$custom: #316310;
$custom-light: #6f9056;
$custom-dark: #000000;
JSON
{
  "hex": "#316310",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 96.145,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44748,
    "c": 0.12338,
    "h": 136.2
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

primary
#316310
secondary
#72339C
accent
#39EFA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316310

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

Preview Lab → · Contrast checker → · Palette generator →

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