#315C13#315C13

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

Color values

HEX#315C13
RGBrgb(49, 92, 19)
HSLhsl(95, 66%, 22%)
HSVhsv(95, 79%, 36%)
CMYKcmyk(46.7%, 0%, 79.3%, 63.9%)
CIE-LABlab(34.71, -28.63, 35.07)
CIE-LCHlch(34.71, 45.27, 129.22°)
OKLaboklab(42.76% -0.0799 0.0787)
OKLCHoklch(42.76% 0.112 135.4)
XYZxyz(5.2112, 8.3540, 1.9539)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C13 #3E135C
analogous
#565C13 #315C13 #135C19
triadic
#315C13 #13315C #5C1331
tetradic
#315C13 #13565C #3E135C #5C1913
square
#315C13 #13565C #3E135C #5C1913
split-complementary
#315C13 #19135C #5C1356
monochromatic
#0E1905 #162909 #315C13 #4C8F1D #67C128

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315C13#FFFFFF#000000##FFFFFF
##315C131.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)
#605405
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#30584E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #315c13;
/* rgb */ color: rgb(49, 92, 19);
/* oklch */ color: oklch(42.8% 0.112 135.4);
Tailwind
colors: {
  custom: {
    50: '#6e8a56',
    500: '#315c13',
    950: '#000000',
  },
}
SCSS
$custom: #315c13;
$custom-light: #6e8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#315c13",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 95.342,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.11212,
    "h": 135.4
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#315C13
secondary
#6E3794
accent
#3FE9A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315C13

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

Preview Lab → · Contrast checker → · Palette generator →

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