#315415#315415

#315415 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.099 H 134.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#315415
RGBrgb(49, 84, 21)
HSLhsl(93, 60%, 21%)
HSVhsv(93, 75%, 33%)
CMYKcmyk(41.7%, 0%, 75%, 67.1%)
CIE-LABlab(31.91, -24.69, 31.39)
CIE-LCHlch(31.91, 39.94, 128.18°)
OKLaboklab(40.48% -0.069 0.0713)
OKLCHoklch(40.48% 0.099 134.1)
XYZxyz(4.5722, 7.0475, 1.8287)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315415 #381554
analogous
#505415 #315415 #155418
triadic
#315415 #153154 #541531
tetradic
#315415 #155054 #381554 #541815
square
#315415 #155054 #381554 #541815
split-complementary
#315415 #181554 #541550
monochromatic
#0E1806 #142309 #315415 #4E8521 #6AB62D

Accessibility & contrast

On white

8.72
#315415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#315415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315415
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315415#FFFFFF#000000##FFFFFF
##3154151.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0B
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#315047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #315415;
/* rgb */ color: rgb(49, 84, 21);
/* oklch */ color: oklch(40.5% 0.099 134.1);
Tailwind
colors: {
  custom: {
    50: '#6c8456',
    500: '#315415',
    950: '#000000',
  },
}
SCSS
$custom: #315415;
$custom-light: #6c8456;
$custom-dark: #000000;
JSON
{
  "hex": "#315415",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 21
  },
  "hsl": {
    "h": 93.333,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.09926,
    "h": 134.1
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#315415
secondary
#67398C
accent
#45E39D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315415

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

Preview Lab → · Contrast checker → · Palette generator →

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