#315615#315615

#315615 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.0% C 0.102 H 134.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#315615
RGBrgb(49, 86, 21)
HSLhsl(94, 61%, 21%)
HSVhsv(94, 76%, 34%)
CMYKcmyk(43%, 0%, 75.6%, 66.3%)
CIE-LABlab(32.62, -25.65, 32.12)
CIE-LCHlch(32.62, 41.11, 128.61°)
OKLaboklab(41.05% -0.0717 0.0728)
OKLCHoklch(41.05% 0.102 134.5)
XYZxyz(4.7297, 7.3624, 1.8812)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315615 #3A1556
analogous
#515615 #315615 #155619
triadic
#315615 #153156 #561531
tetradic
#315615 #155156 #3A1556 #561915
square
#315615 #155156 #3A1556 #561915
split-complementary
#315615 #191556 #561551
monochromatic
#0E1906 #152509 #315615 #4D8721 #69B82D

Accessibility & contrast

On white

8.49
#315615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#315615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315615
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315615#FFFFFF#000000##FFFFFF
##3156151.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#305249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #315615;
/* rgb */ color: rgb(49, 86, 21);
/* oklch */ color: oklch(41.0% 0.102 134.5);
Tailwind
colors: {
  custom: {
    50: '#6d8657',
    500: '#315615',
    950: '#000000',
  },
}
SCSS
$custom: #315615;
$custom-light: #6d8657;
$custom-dark: #000000;
JSON
{
  "hex": "#315615",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 94.154,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4105,
    "c": 0.10218,
    "h": 134.5
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#315615
secondary
#69398E
accent
#44E49F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315615

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

Preview Lab → · Contrast checker → · Palette generator →

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