#315612#315612

#315612 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.0% C 0.104 H 134.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#315612
RGBrgb(49, 86, 18)
HSLhsl(93, 65%, 20%)
HSVhsv(93, 79%, 34%)
CMYKcmyk(43%, 0%, 79.1%, 66.3%)
CIE-LABlab(32.60, -25.89, 33.38)
CIE-LCHlch(32.60, 42.24, 127.81°)
OKLaboklab(41.02% -0.0726 0.075)
OKLCHoklch(41.02% 0.104 134.1)
XYZxyz(4.7035, 7.3520, 1.7434)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315612 #371256
analogous
#535612 #315612 #125615
triadic
#315612 #123156 #561231
tetradic
#315612 #125356 #371256 #561512
square
#315612 #125356 #371256 #561512
split-complementary
#315612 #151256 #561253
monochromatic
#0E1905 #142307 #315612 #4E891D #6BBB27

Accessibility & contrast

On white

8.50
#315612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#315612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315612
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315612#FFFFFF#000000##FFFFFF
##3156121.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#315249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #315612;
/* rgb */ color: rgb(49, 86, 18);
/* oklch */ color: oklch(41.0% 0.104 134.1);
Tailwind
colors: {
  custom: {
    50: '#6d8655',
    500: '#315612',
    950: '#000000',
  },
}
SCSS
$custom: #315612;
$custom-light: #6d8655;
$custom-dark: #000000;
JSON
{
  "hex": "#315612",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 92.647,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41024,
    "c": 0.10434,
    "h": 134.1
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#315612
secondary
#66358F
accent
#3FE89B
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315612

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

Preview Lab → · Contrast checker → · Palette generator →

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