#315714#315714

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

Color values

HEX#315714
RGBrgb(49, 87, 20)
HSLhsl(94, 63%, 21%)
HSVhsv(94, 77%, 34%)
CMYKcmyk(43.7%, 0%, 77%, 65.9%)
CIE-LABlab(32.96, -26.21, 32.91)
CIE-LCHlch(32.96, 42.07, 128.54°)
OKLaboklab(41.33% -0.0733 0.0743)
OKLCHoklch(41.33% 0.104 134.6)
XYZxyz(4.8010, 7.5196, 1.8601)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315714 #3A1457
analogous
#525714 #315714 #145718
triadic
#315714 #143157 #571431
tetradic
#315714 #145257 #3A1457 #571814
square
#315714 #145257 #3A1457 #571814
split-complementary
#315714 #181457 #571452
monochromatic
#0E1906 #152509 #315714 #4D891F #69BB2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##315714#FFFFFF#000000##FFFFFF
##3157141.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)
#5B4F09
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#30534A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #315714;
/* rgb */ color: rgb(49, 87, 20);
/* oklch */ color: oklch(41.3% 0.104 134.6);
Tailwind
colors: {
  custom: {
    50: '#6d8756',
    500: '#315714',
    950: '#000000',
  },
}
SCSS
$custom: #315714;
$custom-light: #6d8756;
$custom-dark: #000000;
JSON
{
  "hex": "#315714",
  "rgb": {
    "r": 49,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 94.03,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.10436,
    "h": 134.6
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#315714
secondary
#69388F
accent
#42E69F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315714

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

Preview Lab → · Contrast checker → · Palette generator →

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