#315713#315713

#315713 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.105 H 134.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#315713
RGBrgb(49, 87, 19)
HSLhsl(94, 64%, 21%)
HSVhsv(94, 78%, 34%)
CMYKcmyk(43.7%, 0%, 78.2%, 65.9%)
CIE-LABlab(32.95, -26.29, 33.32)
CIE-LCHlch(32.95, 42.45, 128.28°)
OKLaboklab(41.32% -0.0736 0.075)
OKLCHoklch(41.32% 0.105 134.4)
XYZxyz(4.7923, 7.5161, 1.8142)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315713 #391357
analogous
#535713 #315713 #135717
triadic
#315713 #133157 #571331
tetradic
#315713 #135357 #391357 #571713
square
#315713 #135357 #391357 #571713
split-complementary
#315713 #171357 #571353
monochromatic
#0E1905 #152508 #315713 #4D891E #6ABB29

Accessibility & contrast

On white

8.39
#315713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#315713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315713
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315713#FFFFFF#000000##FFFFFF
##3157131.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F07
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#30534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #315713;
/* rgb */ color: rgb(49, 87, 19);
/* oklch */ color: oklch(41.3% 0.105 134.4);
Tailwind
colors: {
  custom: {
    50: '#6d8756',
    500: '#315713',
    950: '#000000',
  },
}
SCSS
$custom: #315713;
$custom-light: #6d8756;
$custom-dark: #000000;
JSON
{
  "hex": "#315713",
  "rgb": {
    "r": 49,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 93.529,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.10507,
    "h": 134.4
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#315713
secondary
#68368F
accent
#41E79E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315713

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

Preview Lab → · Contrast checker → · Palette generator →

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