#316513#316513

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

Color values

HEX#316513
RGBrgb(49, 101, 19)
HSLhsl(98, 68%, 24%)
HSVhsv(98, 81%, 40%)
CMYKcmyk(51.5%, 0%, 81.2%, 60.4%)
CIE-LABlab(37.85, -32.63, 38.14)
CIE-LCHlch(37.85, 50.19, 130.55°)
OKLaboklab(45.34% -0.0907 0.0851)
OKLCHoklch(45.34% 0.124 136.8)
XYZxyz(6.0377, 10.0069, 2.2294)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316513 #471365
analogous
#5A6513 #316513 #13651E
triadic
#316513 #133165 #651331
tetradic
#316513 #135A65 #471365 #651E13
square
#316513 #135A65 #471365 #651E13
split-complementary
#316513 #1E1365 #65135A
monochromatic
#0C1A05 #183109 #316513 #4A991D #63CC26

Accessibility & contrast

On white

7.00
#316513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #316513
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316513#FFFFFF#000000##FFFFFF
##3165131.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#2E6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #316513;
/* rgb */ color: rgb(49, 101, 19);
/* oklch */ color: oklch(45.3% 0.124 136.8);
Tailwind
colors: {
  custom: {
    50: '#6f9158',
    500: '#316513',
    950: '#000000',
  },
}
SCSS
$custom: #316513;
$custom-light: #6f9158;
$custom-dark: #000000;
JSON
{
  "hex": "#316513",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 98.049,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.12435,
    "h": 136.8
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#316513
secondary
#77379D
accent
#3DEBAB
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #316513

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

Preview Lab → · Contrast checker → · Palette generator →

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