#316814#316814

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

Color values

HEX#316814
RGBrgb(49, 104, 20)
HSLhsl(99, 68%, 24%)
HSVhsv(99, 81%, 41%)
CMYKcmyk(52.9%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.90, -33.85, 38.79)
CIE-LCHlch(38.90, 51.48, 131.11°)
OKLaboklab(46.21% -0.0939 0.0866)
OKLCHoklch(46.21% 0.128 137.3)
XYZxyz(6.3430, 10.6036, 2.3742)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316814 #4B1468
analogous
#5B6814 #316814 #146821
triadic
#316814 #143168 #681431
tetradic
#316814 #145B68 #4B1468 #682114
square
#316814 #145B68 #4B1468 #682114
split-complementary
#316814 #211468 #68145B
monochromatic
#0C1A05 #19350A #316814 #499B1E #61CF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316814#FFFFFF#000000##FFFFFF
##3168141.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)
#6C5E02
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#2D6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316814;
/* rgb */ color: rgb(49, 104, 20);
/* oklch */ color: oklch(46.2% 0.128 137.3);
Tailwind
colors: {
  custom: {
    50: '#6f9459',
    500: '#316814',
    950: '#000000',
  },
}
SCSS
$custom: #316814;
$custom-light: #6f9459;
$custom-dark: #000000;
JSON
{
  "hex": "#316814",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 99.286,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.12774,
    "h": 137.3
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#316814
secondary
#7C399F
accent
#3DEBAF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316814

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

Preview Lab → · Contrast checker → · Palette generator →

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