#315514#315514

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

Color values

HEX#315514
RGBrgb(49, 85, 20)
HSLhsl(93, 62%, 21%)
HSVhsv(93, 76%, 33%)
CMYKcmyk(42.4%, 0%, 76.5%, 66.7%)
CIE-LABlab(32.26, -25.25, 32.19)
CIE-LCHlch(32.26, 40.91, 128.12°)
OKLaboklab(40.75% -0.0707 0.0728)
OKLCHoklch(40.75% 0.101 134.1)
XYZxyz(4.6413, 7.2002, 1.8069)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315514 #381455
analogous
#515514 #315514 #145517
triadic
#315514 #143155 #551431
tetradic
#315514 #145155 #381455 #551714
square
#315514 #145155 #381455 #551714
split-complementary
#315514 #171455 #551451
monochromatic
#0E1906 #142308 #315514 #4E8720 #6AB82B

Accessibility & contrast

On white

8.61
#315514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315514
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315514#FFFFFF#000000##FFFFFF
##3155141.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #315514;
/* rgb */ color: rgb(49, 85, 20);
/* oklch */ color: oklch(40.8% 0.101 134.1);
Tailwind
colors: {
  custom: {
    50: '#6d8556',
    500: '#315514',
    950: '#000000',
  },
}
SCSS
$custom: #315514;
$custom-light: #6d8556;
$custom-dark: #000000;
JSON
{
  "hex": "#315514",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 20
  },
  "hsl": {
    "h": 93.231,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40754,
    "c": 0.10147,
    "h": 134.1
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#315514
secondary
#67388D
accent
#43E59D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315514

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

Preview Lab → · Contrast checker → · Palette generator →

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