#315319#315319

#315319 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.094 H 134.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#315319
RGBrgb(49, 83, 25)
HSLhsl(95, 54%, 21%)
HSVhsv(95, 70%, 33%)
CMYKcmyk(41%, 0%, 69.9%, 67.5%)
CIE-LABlab(31.60, -23.82, 29.17)
CIE-LCHlch(31.60, 37.66, 129.23°)
OKLaboklab(40.23% -0.0663 0.0672)
OKLCHoklch(40.23% 0.094 134.6)
XYZxyz(4.5353, 6.9095, 2.0142)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315319 #3B1953
analogous
#4E5319 #315319 #19531E
triadic
#315319 #193153 #531931
tetradic
#315319 #194E53 #3B1953 #531E19
square
#315319 #194E53 #3B1953 #531E19
split-complementary
#315319 #1E1953 #53194E
monochromatic
#0E1807 #15240B #315319 #4D8227 #69B135

Accessibility & contrast

On white

8.82
#315319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#315319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315319
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315319#FFFFFF#000000##FFFFFF
##3153191.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C12
Deuteranopia (green-blind)
#52491E
Tritanopia (blue-blind)
#315047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #315319;
/* rgb */ color: rgb(49, 83, 25);
/* oklch */ color: oklch(40.2% 0.094 134.6);
Tailwind
colors: {
  custom: {
    50: '#6c8359',
    500: '#315319',
    950: '#000000',
  },
}
SCSS
$custom: #315319;
$custom-light: #6c8359;
$custom-dark: #000000;
JSON
{
  "hex": "#315319",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 25
  },
  "hsl": {
    "h": 95.172,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.09444,
    "h": 134.6
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#315319
secondary
#6A3E89
accent
#4BDDA1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315319

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

Preview Lab → · Contrast checker → · Palette generator →

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