#315C16#315C16

#315C16 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.110 H 135.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#315C16
RGBrgb(49, 92, 22)
HSLhsl(97, 61%, 22%)
HSVhsv(97, 76%, 36%)
CMYKcmyk(46.7%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.73, -28.39, 33.85)
CIE-LCHlch(34.73, 44.18, 129.98°)
OKLaboklab(42.78% -0.079 0.0766)
OKLCHoklch(42.78% 0.11 135.9)
XYZxyz(5.2385, 8.3649, 2.0975)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C16 #41165C
analogous
#545C16 #315C16 #165C1E
triadic
#315C16 #16315C #5C1631
tetradic
#315C16 #16545C #41165C #5C1E16
square
#315C16 #16545C #41165C #5C1E16
split-complementary
#315C16 #1E165C #5C1654
monochromatic
#0D1906 #172B0A #315C16 #4B8D22 #66BF2E

Accessibility & contrast

On white

7.86
#315C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#315C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315C16
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C16#FFFFFF#000000##FFFFFF
##315C161.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540A
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#2F584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #315c16;
/* rgb */ color: rgb(49, 92, 22);
/* oklch */ color: oklch(42.8% 0.110 135.9);
Tailwind
colors: {
  custom: {
    50: '#6d8a58',
    500: '#315c16',
    950: '#000000',
  },
}
SCSS
$custom: #315c16;
$custom-light: #6d8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#315c16",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 96.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.11006,
    "h": 135.9
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#315C16
secondary
#713B93
accent
#43E5A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315C16

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

Preview Lab → · Contrast checker → · Palette generator →

#315C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva