#316514#316514

#316514 is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.3% C 0.124 H 136.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#316514
RGBrgb(49, 101, 20)
HSLhsl(99, 67%, 24%)
HSVhsv(99, 80%, 40%)
CMYKcmyk(51.5%, 0%, 80.2%, 60.4%)
CIE-LABlab(37.86, -32.56, 37.78)
CIE-LCHlch(37.86, 49.87, 130.76°)
OKLaboklab(45.35% -0.0904 0.0845)
OKLCHoklch(45.35% 0.124 136.9)
XYZxyz(6.0464, 10.0104, 2.2753)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316514 #481465
analogous
#596514 #316514 #146520
triadic
#316514 #143165 #651431
tetradic
#316514 #145965 #481465 #652014
square
#316514 #145965 #481465 #652014
split-complementary
#316514 #201465 #651459
monochromatic
#0C1A05 #18320A #316514 #4A981E #63CB28

Accessibility & contrast

On white

6.99
#316514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#316514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316514
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316514#FFFFFF#000000##FFFFFF
##3165141.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C03
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#2E6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #316514;
/* rgb */ color: rgb(49, 101, 20);
/* oklch */ color: oklch(45.3% 0.124 136.9);
Tailwind
colors: {
  custom: {
    50: '#6f9158',
    500: '#316514',
    950: '#000000',
  },
}
SCSS
$custom: #316514;
$custom-light: #6f9158;
$custom-dark: #000000;
JSON
{
  "hex": "#316514",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 98.519,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45349,
    "c": 0.12376,
    "h": 136.9
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#316514
secondary
#79399C
accent
#3EEAAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080D04
muted
#7B7D79

Preview Lab

Preview with #316514

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

Preview Lab → · Contrast checker → · Palette generator →

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