#315D19#315D19

#315D19 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.109 H 136.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#315D19
RGBrgb(49, 93, 25)
HSLhsl(99, 58%, 23%)
HSVhsv(99, 73%, 36%)
CMYKcmyk(47.3%, 0%, 73.1%, 63.5%)
CIE-LABlab(35.11, -28.59, 32.92)
CIE-LCHlch(35.11, 43.60, 130.97°)
OKLaboklab(43.1% -0.0793 0.0751)
OKLCHoklch(43.1% 0.109 136.6)
XYZxyz(5.3563, 8.5515, 2.2879)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D19 #45195D
analogous
#535D19 #315D19 #195D23
triadic
#315D19 #19315D #5D1931
tetradic
#315D19 #19535D #45195D #5D2319
square
#315D19 #19535D #45195D #5D2319
split-complementary
#315D19 #23195D #5D1953
monochromatic
#0D1806 #182D0C #315D19 #4A8D26 #64BD33

Accessibility & contrast

On white

7.75
#315D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#315D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315D19
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D19#FFFFFF#000000##FFFFFF
##315D191.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#2F594F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315d19;
/* rgb */ color: rgb(49, 93, 25);
/* oklch */ color: oklch(43.1% 0.109 136.6);
Tailwind
colors: {
  custom: {
    50: '#6d8b5a',
    500: '#315d19',
    950: '#000000',
  },
}
SCSS
$custom: #315d19;
$custom-light: #6d8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#315d19",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 98.824,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.10924,
    "h": 136.6
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#315D19
secondary
#753F93
accent
#47E1AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #315D19

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

Preview Lab → · Contrast checker → · Palette generator →

#315D19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva