#315914#315914

#315914 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.9% C 0.107 H 135.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#315914
RGBrgb(49, 89, 20)
HSLhsl(95, 63%, 21%)
HSVhsv(95, 78%, 35%)
CMYKcmyk(44.9%, 0%, 77.5%, 65.1%)
CIE-LABlab(33.66, -27.16, 33.62)
CIE-LCHlch(33.66, 43.22, 128.93°)
OKLaboklab(41.9% -0.0758 0.0758)
OKLCHoklch(41.9% 0.107 135)
XYZxyz(4.9652, 7.8480, 1.9149)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315914 #3C1459
analogous
#545914 #315914 #14591A
triadic
#315914 #143159 #591431
tetradic
#315914 #145459 #3C1459 #591A14
square
#315914 #145459 #3C1459 #591A14
split-complementary
#315914 #1A1459 #591454
monochromatic
#0E1906 #152709 #315914 #4D8B1F #68BD2A

Accessibility & contrast

On white

8.17
#315914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#315914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315914
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315914#FFFFFF#000000##FFFFFF
##3159141.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5108
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#30554C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #315914;
/* rgb */ color: rgb(49, 89, 20);
/* oklch */ color: oklch(41.9% 0.107 135.0);
Tailwind
colors: {
  custom: {
    50: '#6d8857',
    500: '#315914',
    950: '#000000',
  },
}
SCSS
$custom: #315914;
$custom-light: #6d8857;
$custom-dark: #000000;
JSON
{
  "hex": "#315914",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 94.783,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.10723,
    "h": 135
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#315914
secondary
#6B3891
accent
#41E6A1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315914

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

Preview Lab → · Contrast checker → · Palette generator →

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