#316615#316615

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

Color values

HEX#316615
RGBrgb(49, 102, 21)
HSLhsl(99, 66%, 24%)
HSVhsv(99, 79%, 40%)
CMYKcmyk(52%, 0%, 79.4%, 60%)
CIE-LABlab(38.22, -32.92, 37.75)
CIE-LCHlch(38.22, 50.09, 131.09°)
OKLaboklab(45.64% -0.0913 0.0846)
OKLCHoklch(45.64% 0.124 137.2)
XYZxyz(6.1532, 10.2094, 2.3557)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316615 #4A1566
analogous
#5A6615 #316615 #156621
triadic
#316615 #153166 #661531
tetradic
#316615 #155A66 #4A1566 #662115
square
#316615 #155A66 #4A1566 #662115
split-complementary
#316615 #211566 #66155A
monochromatic
#0C1905 #19330B #316615 #49991F #62CC2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316615#FFFFFF#000000##FFFFFF
##3166151.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)
#6A5D05
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#2E6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #316615;
/* rgb */ color: rgb(49, 102, 21);
/* oklch */ color: oklch(45.6% 0.124 137.2);
Tailwind
colors: {
  custom: {
    50: '#6f9259',
    500: '#316615',
    950: '#000000',
  },
}
SCSS
$custom: #316615;
$custom-light: #6f9259;
$custom-dark: #000000;
JSON
{
  "hex": "#316615",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 99.259,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.12448,
    "h": 137.2
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#316615
secondary
#7B3A9D
accent
#3FE9AE
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316615

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

Preview Lab → · Contrast checker → · Palette generator →

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