#315516#315516

#315516 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.8% C 0.100 H 134.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#315516
RGBrgb(49, 85, 22)
HSLhsl(94, 59%, 21%)
HSVhsv(94, 74%, 33%)
CMYKcmyk(42.4%, 0%, 74.1%, 66.7%)
CIE-LABlab(32.28, -25.08, 31.32)
CIE-LCHlch(32.28, 40.12, 128.70°)
OKLaboklab(40.77% -0.07 0.0713)
OKLCHoklch(40.77% 0.1 134.5)
XYZxyz(4.6598, 7.2077, 1.9046)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315516 #3A1655
analogous
#505516 #315516 #16551A
triadic
#315516 #163155 #551631
tetradic
#315516 #165055 #3A1655 #551A16
square
#315516 #165055 #3A1655 #551A16
split-complementary
#315516 #1A1655 #551650
monochromatic
#0E1806 #152409 #315516 #4D8623 #69B62F

Accessibility & contrast

On white

8.60
#315516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#315516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315516
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315516#FFFFFF#000000##FFFFFF
##3155161.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0D
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#315248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #315516;
/* rgb */ color: rgb(49, 85, 22);
/* oklch */ color: oklch(40.8% 0.100 134.5);
Tailwind
colors: {
  custom: {
    50: '#6d8557',
    500: '#315516',
    950: '#000000',
  },
}
SCSS
$custom: #315516;
$custom-light: #6d8557;
$custom-dark: #000000;
JSON
{
  "hex": "#315516",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 22
  },
  "hsl": {
    "h": 94.286,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.09995,
    "h": 134.5
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#315516
secondary
#693A8C
accent
#46E29F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315516

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

Preview Lab → · Contrast checker → · Palette generator →

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