#315C14#315C14

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

Color values

HEX#315C14
RGBrgb(49, 92, 20)
HSLhsl(96, 64%, 22%)
HSVhsv(96, 78%, 36%)
CMYKcmyk(46.7%, 0%, 78.3%, 63.9%)
CIE-LABlab(34.72, -28.55, 34.67)
CIE-LCHlch(34.72, 44.92, 129.47°)
OKLaboklab(42.77% -0.0796 0.078)
OKLCHoklch(42.77% 0.111 135.6)
XYZxyz(5.2199, 8.3575, 1.9998)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C14 #3F145C
analogous
#555C14 #315C14 #145C1B
triadic
#315C14 #14315C #5C1431
tetradic
#315C14 #14555C #3F145C #5C1B14
square
#315C14 #14555C #3F145C #5C1B14
split-complementary
#315C14 #1B145C #5C1455
monochromatic
#0D1905 #162A09 #315C14 #4C8E1F #67C12A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315C14#FFFFFF#000000##FFFFFF
##315C141.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)
#605407
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#30584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #315c14;
/* rgb */ color: rgb(49, 92, 20);
/* oklch */ color: oklch(42.8% 0.111 135.6);
Tailwind
colors: {
  custom: {
    50: '#6e8a57',
    500: '#315c14',
    950: '#000000',
  },
}
SCSS
$custom: #315c14;
$custom-light: #6e8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#315c14",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 95.833,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.11146,
    "h": 135.6
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#315C14
secondary
#6F3894
accent
#41E7A4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315C14

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

Preview Lab → · Contrast checker → · Palette generator →

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