#315515#315515

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

Color values

HEX#315515
RGBrgb(49, 85, 21)
HSLhsl(94, 60%, 21%)
HSVhsv(94, 75%, 33%)
CMYKcmyk(42.4%, 0%, 75.3%, 66.7%)
CIE-LABlab(32.27, -25.17, 31.76)
CIE-LCHlch(32.27, 40.52, 128.40°)
OKLaboklab(40.76% -0.0704 0.0721)
OKLCHoklch(40.76% 0.101 134.3)
XYZxyz(4.6504, 7.2039, 1.8548)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315515 #391555
analogous
#515515 #315515 #155519
triadic
#315515 #153155 #551531
tetradic
#315515 #155155 #391555 #551915
square
#315515 #155155 #391555 #551915
split-complementary
#315515 #191555 #551551
monochromatic
#0E1906 #152409 #315515 #4D8621 #6AB72D

Accessibility & contrast

On white

8.60
#315515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315515
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315515#FFFFFF#000000##FFFFFF
##3155151.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#315148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #315515;
/* rgb */ color: rgb(49, 85, 21);
/* oklch */ color: oklch(40.8% 0.101 134.3);
Tailwind
colors: {
  custom: {
    50: '#6d8557',
    500: '#315515',
    950: '#000000',
  },
}
SCSS
$custom: #315515;
$custom-light: #6d8557;
$custom-dark: #000000;
JSON
{
  "hex": "#315515",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 93.75,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40763,
    "c": 0.10072,
    "h": 134.3
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#315515
secondary
#68398D
accent
#44E49E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315515

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

Preview Lab → · Contrast checker → · Palette generator →

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