#315416#315416

#315416 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.098 H 134.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#315416
RGBrgb(49, 84, 22)
HSLhsl(94, 58%, 21%)
HSVhsv(94, 74%, 33%)
CMYKcmyk(41.7%, 0%, 73.8%, 67.1%)
CIE-LABlab(31.92, -24.60, 30.95)
CIE-LCHlch(31.92, 39.53, 128.48°)
OKLaboklab(40.49% -0.0687 0.0705)
OKLCHoklch(40.49% 0.098 134.3)
XYZxyz(4.5817, 7.0513, 1.8785)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315416 #391654
analogous
#505416 #315416 #16541A
triadic
#315416 #163154 #541631
tetradic
#315416 #165054 #391654 #541A16
square
#315416 #165054 #391654 #541A16
split-complementary
#315416 #1A1654 #541650
monochromatic
#0E1806 #152409 #315416 #4D8423 #6AB52F

Accessibility & contrast

On white

8.71
#315416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315416
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315416#FFFFFF#000000##FFFFFF
##3154161.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0D
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#315147
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #315416;
/* rgb */ color: rgb(49, 84, 22);
/* oklch */ color: oklch(40.5% 0.098 134.3);
Tailwind
colors: {
  custom: {
    50: '#6c8457',
    500: '#315416',
    950: '#000000',
  },
}
SCSS
$custom: #315416;
$custom-light: #6c8457;
$custom-dark: #000000;
JSON
{
  "hex": "#315416",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 22
  },
  "hsl": {
    "h": 93.871,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.09846,
    "h": 134.3
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#315416
secondary
#683A8B
accent
#46E29E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #315416

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

Preview Lab → · Contrast checker → · Palette generator →

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