#316616#316616

#316616 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.6% C 0.124 H 137.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#316616
RGBrgb(49, 102, 22)
HSLhsl(100, 65%, 24%)
HSVhsv(100, 78%, 40%)
CMYKcmyk(52%, 0%, 78.4%, 60%)
CIE-LABlab(38.22, -32.85, 37.37)
CIE-LCHlch(38.22, 49.75, 131.32°)
OKLaboklab(45.65% -0.0911 0.084)
OKLCHoklch(45.65% 0.124 137.3)
XYZxyz(6.1626, 10.2132, 2.4055)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316616 #4B1666
analogous
#596616 #316616 #166623
triadic
#316616 #163166 #661631
tetradic
#316616 #165966 #4B1666 #662316
square
#316616 #165966 #4B1666 #662316
split-complementary
#316616 #231666 #661659
monochromatic
#0C1905 #19340B #316616 #499821 #61CB2C

Accessibility & contrast

On white

6.90
#316616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#316616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316616
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316616#FFFFFF#000000##FFFFFF
##3166161.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#2E6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #316616;
/* rgb */ color: rgb(49, 102, 22);
/* oklch */ color: oklch(45.6% 0.124 137.3);
Tailwind
colors: {
  custom: {
    50: '#6f9259',
    500: '#316616',
    950: '#000000',
  },
}
SCSS
$custom: #316616;
$custom-light: #6f9259;
$custom-dark: #000000;
JSON
{
  "hex": "#316616",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 99.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.12385,
    "h": 137.3
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#316616
secondary
#7C3B9D
accent
#40E8AF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316616

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

Preview Lab → · Contrast checker → · Palette generator →

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