#315913#315913

#315913 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.108 H 134.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#315913
RGBrgb(49, 89, 19)
HSLhsl(94, 65%, 21%)
HSVhsv(94, 79%, 35%)
CMYKcmyk(44.9%, 0%, 78.7%, 65.1%)
CIE-LABlab(33.66, -27.24, 34.02)
CIE-LCHlch(33.66, 43.58, 128.68°)
OKLaboklab(41.9% -0.0761 0.0765)
OKLCHoklch(41.9% 0.108 134.9)
XYZxyz(4.9564, 7.8445, 1.8689)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315913 #3B1359
analogous
#545913 #315913 #135918
triadic
#315913 #133159 #591331
tetradic
#315913 #135459 #3B1359 #591813
square
#315913 #135459 #3B1359 #591813
split-complementary
#315913 #181359 #591354
monochromatic
#0E1905 #152708 #315913 #4D8B1E #69BE29

Accessibility & contrast

On white

8.17
#315913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#315913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315913
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315913#FFFFFF#000000##FFFFFF
##3159131.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5106
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#30554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #315913;
/* rgb */ color: rgb(49, 89, 19);
/* oklch */ color: oklch(41.9% 0.108 134.9);
Tailwind
colors: {
  custom: {
    50: '#6d8856',
    500: '#315913',
    950: '#000000',
  },
}
SCSS
$custom: #315913;
$custom-light: #6d8856;
$custom-dark: #000000;
JSON
{
  "hex": "#315913",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 94.286,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41896,
    "c": 0.10792,
    "h": 134.9
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#315913
secondary
#6A3791
accent
#40E8A0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315913

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

Preview Lab → · Contrast checker → · Palette generator →

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