#315813#315813

#315813 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.6% C 0.106 H 134.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#315813
RGBrgb(49, 88, 19)
HSLhsl(94, 64%, 21%)
HSVhsv(94, 78%, 35%)
CMYKcmyk(44.3%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.31, -26.77, 33.67)
CIE-LCHlch(33.31, 43.02, 128.48°)
OKLaboklab(41.61% -0.0748 0.0758)
OKLCHoklch(41.61% 0.107 134.7)
XYZxyz(4.8738, 7.6792, 1.8414)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315813 #3A1358
analogous
#535813 #315813 #135817
triadic
#315813 #133158 #581331
tetradic
#315813 #135358 #3A1358 #581713
square
#315813 #135358 #3A1358 #581713
split-complementary
#315813 #171358 #581353
monochromatic
#0E1905 #152608 #315813 #4D8A1E #69BD29

Accessibility & contrast

On white

8.28
#315813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#315813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315813
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315813#FFFFFF#000000##FFFFFF
##3158131.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5007
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#30544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #315813;
/* rgb */ color: rgb(49, 88, 19);
/* oklch */ color: oklch(41.6% 0.106 134.7);
Tailwind
colors: {
  custom: {
    50: '#6d8756',
    500: '#315813',
    950: '#000000',
  },
}
SCSS
$custom: #315813;
$custom-light: #6d8756;
$custom-dark: #000000;
JSON
{
  "hex": "#315813",
  "rgb": {
    "r": 49,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 93.913,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.1065,
    "h": 134.7
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#315813
secondary
#693790
accent
#40E79F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315813

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

Preview Lab → · Contrast checker → · Palette generator →

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