#315519#315519

#315519 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.8% C 0.097 H 135.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#315519
RGBrgb(49, 85, 25)
HSLhsl(96, 55%, 22%)
HSVhsv(96, 71%, 33%)
CMYKcmyk(42.4%, 0%, 70.6%, 66.7%)
CIE-LABlab(32.30, -24.80, 29.94)
CIE-LCHlch(32.30, 38.87, 129.64°)
OKLaboklab(40.8% -0.069 0.0688)
OKLCHoklch(40.8% 0.097 135.1)
XYZxyz(4.6905, 7.2199, 2.0660)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315519 #3D1955
analogous
#4F5519 #315519 #19551F
triadic
#315519 #193155 #551931
tetradic
#315519 #194F55 #3D1955 #551F19
square
#315519 #194F55 #3D1955 #551F19
split-complementary
#315519 #1F1955 #55194F
monochromatic
#0E1807 #16260B #315519 #4C8427 #68B435

Accessibility & contrast

On white

8.59
#315519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#315519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315519
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315519#FFFFFF#000000##FFFFFF
##3155191.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E11
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#305249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #315519;
/* rgb */ color: rgb(49, 85, 25);
/* oklch */ color: oklch(40.8% 0.097 135.1);
Tailwind
colors: {
  custom: {
    50: '#6c8559',
    500: '#315519',
    950: '#000000',
  },
}
SCSS
$custom: #315519;
$custom-light: #6c8559;
$custom-dark: #000000;
JSON
{
  "hex": "#315519",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 25
  },
  "hsl": {
    "h": 96,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.09747,
    "h": 135.1
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#315519
secondary
#6D3E8B
accent
#4ADEA3
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #315519

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

Preview Lab → · Contrast checker → · Palette generator →

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