#316810#316810

#316810 is a mid, vivid yellow-green. Relative luminance 0.106; OKLCH L 46.2% C 0.130 H 136.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#316810
RGBrgb(49, 104, 16)
HSLhsl(98, 73%, 24%)
HSVhsv(98, 85%, 41%)
CMYKcmyk(52.9%, 0%, 84.6%, 59.2%)
CIE-LABlab(38.88, -34.10, 40.14)
CIE-LCHlch(38.88, 52.67, 130.35°)
OKLaboklab(46.18% -0.0948 0.0888)
OKLCHoklch(46.18% 0.13 136.9)
XYZxyz(6.3103, 10.5906, 2.2018)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316810 #471068
analogous
#5D6810 #316810 #10681B
triadic
#316810 #103168 #681031
tetradic
#316810 #105D68 #471068 #681B10
square
#316810 #105D68 #471068 #681B10
split-complementary
#316810 #1B1068 #68105D
monochromatic
#0C1B04 #183308 #316810 #4A9D18 #63D220

Accessibility & contrast

On white

6.73
#316810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#316810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316810
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316810#FFFFFF#000000##FFFFFF
##3168101.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#2E6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316810;
/* rgb */ color: rgb(49, 104, 16);
/* oklch */ color: oklch(46.2% 0.130 136.9);
Tailwind
colors: {
  custom: {
    50: '#709457',
    500: '#316810',
    950: '#000000',
  },
}
SCSS
$custom: #316810;
$custom-light: #709457;
$custom-dark: #000000;
JSON
{
  "hex": "#316810",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 97.5,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.1299,
    "h": 136.9
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#316810
secondary
#7734A0
accent
#38F0AB
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #316810

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

Preview Lab → · Contrast checker → · Palette generator →

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