#315D16#315D16

#315D16 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.1% C 0.111 H 136.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#315D16
RGBrgb(49, 93, 22)
HSLhsl(97, 62%, 23%)
HSVhsv(97, 76%, 36%)
CMYKcmyk(47.3%, 0%, 76.3%, 63.5%)
CIE-LABlab(35.08, -28.85, 34.21)
CIE-LCHlch(35.08, 44.75, 130.14°)
OKLaboklab(43.07% -0.0802 0.0774)
OKLCHoklch(43.07% 0.111 136)
XYZxyz(5.3257, 8.5393, 2.1265)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D16 #42165D
analogous
#545D16 #315D16 #165D1E
triadic
#315D16 #16315D #5D1631
tetradic
#315D16 #16545D #42165D #5D1E16
square
#315D16 #16545D #42165D #5D1E16
split-complementary
#315D16 #1E165D #5D1654
monochromatic
#0D1906 #172C0A #315D16 #4B8E22 #65C02D

Accessibility & contrast

On white

7.75
#315D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#315D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315D16
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D16#FFFFFF#000000##FFFFFF
##315D161.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#2F594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #315d16;
/* rgb */ color: rgb(49, 93, 22);
/* oklch */ color: oklch(43.1% 0.111 136.0);
Tailwind
colors: {
  custom: {
    50: '#6e8b58',
    500: '#315d16',
    950: '#000000',
  },
}
SCSS
$custom: #315d16;
$custom-light: #6e8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#315d16",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 97.183,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43071,
    "c": 0.11147,
    "h": 136
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#315D16
secondary
#723B94
accent
#43E5A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #315D16

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

Preview Lab → · Contrast checker → · Palette generator →

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