#315710#315710

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

Color values

HEX#315710
RGBrgb(49, 87, 16)
HSLhsl(92, 69%, 20%)
HSVhsv(92, 82%, 34%)
CMYKcmyk(43.7%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.93, -26.51, 34.50)
CIE-LCHlch(32.93, 43.51, 127.54°)
OKLaboklab(41.3% -0.0744 0.077)
OKLCHoklch(41.3% 0.107 134)
XYZxyz(4.7683, 7.5065, 1.6878)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315710 #361057
analogous
#545710 #315710 #105713
triadic
#315710 #103157 #571031
tetradic
#315710 #105457 #361057 #571310
square
#315710 #105457 #361057 #571310
split-complementary
#315710 #131057 #571054
monochromatic
#0F1A05 #142306 #315710 #4E8B1A #6BBE23

Accessibility & contrast

On white

8.40
#315710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315710
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315710#FFFFFF#000000##FFFFFF
##3157101.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F02
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#31534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #315710;
/* rgb */ color: rgb(49, 87, 16);
/* oklch */ color: oklch(41.3% 0.107 134.0);
Tailwind
colors: {
  custom: {
    50: '#6d8754',
    500: '#315710',
    950: '#000000',
  },
}
SCSS
$custom: #315710;
$custom-light: #6d8754;
$custom-dark: #000000;
JSON
{
  "hex": "#315710",
  "rgb": {
    "r": 49,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 92.113,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.10706,
    "h": 134
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#315710
secondary
#653290
accent
#3CEC9A
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315710

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

Preview Lab → · Contrast checker → · Palette generator →

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