#316914#316914

#316914 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.5% C 0.129 H 137.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#316914
RGBrgb(49, 105, 20)
HSLhsl(100, 68%, 25%)
HSVhsv(100, 81%, 41%)
CMYKcmyk(53.3%, 0%, 81%, 58.8%)
CIE-LABlab(39.25, -34.27, 39.12)
CIE-LCHlch(39.25, 52.01, 131.22°)
OKLaboklab(46.49% -0.095 0.0873)
OKLCHoklch(46.49% 0.129 137.4)
XYZxyz(6.4443, 10.8062, 2.4079)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316914 #4C1469
analogous
#5C6914 #316914 #146921
triadic
#316914 #143169 #691431
tetradic
#316914 #145C69 #4C1469 #692114
square
#316914 #145C69 #4C1469 #692114
split-complementary
#316914 #211469 #69145C
monochromatic
#0C1A05 #19360A #316914 #499C1E #61D028

Accessibility & contrast

On white

6.64
#316914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#316914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316914
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316914#FFFFFF#000000##FFFFFF
##3169141.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F01
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#2D6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316914;
/* rgb */ color: rgb(49, 105, 20);
/* oklch */ color: oklch(46.5% 0.129 137.4);
Tailwind
colors: {
  custom: {
    50: '#709459',
    500: '#316914',
    950: '#000000',
  },
}
SCSS
$custom: #316914;
$custom-light: #709459;
$custom-dark: #000000;
JSON
{
  "hex": "#316914",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 99.529,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46493,
    "c": 0.12905,
    "h": 137.4
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#316914
secondary
#7D39A0
accent
#3DEBB0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316914

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

Preview Lab → · Contrast checker → · Palette generator →

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