#315919#315919

#315919 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.103 H 135.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#315919
RGBrgb(49, 89, 25)
HSLhsl(98, 56%, 22%)
HSVhsv(98, 72%, 35%)
CMYKcmyk(44.9%, 0%, 71.9%, 65.1%)
CIE-LABlab(33.71, -26.72, 31.44)
CIE-LCHlch(33.71, 41.26, 130.36°)
OKLaboklab(41.95% -0.0742 0.072)
OKLCHoklch(41.95% 0.103 135.9)
XYZxyz(5.0143, 7.8676, 2.1739)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315919 #411959
analogous
#515919 #315919 #195921
triadic
#315919 #193159 #591931
tetradic
#315919 #195159 #411959 #592119
square
#315919 #195159 #411959 #592119
split-complementary
#315919 #211959 #591951
monochromatic
#0D1807 #17290C #315919 #4B8926 #66B934

Accessibility & contrast

On white

8.16
#315919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315919
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315919#FFFFFF#000000##FFFFFF
##3159191.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#30564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #315919;
/* rgb */ color: rgb(49, 89, 25);
/* oklch */ color: oklch(42.0% 0.103 135.9);
Tailwind
colors: {
  custom: {
    50: '#6d8859',
    500: '#315919',
    950: '#000000',
  },
}
SCSS
$custom: #315919;
$custom-light: #6d8859;
$custom-dark: #000000;
JSON
{
  "hex": "#315919",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 25
  },
  "hsl": {
    "h": 97.5,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.10343,
    "h": 135.9
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#315919
secondary
#713E8F
accent
#48DFA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #315919

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

Preview Lab → · Contrast checker → · Palette generator →

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