#315016#315016

#315016 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.092 H 133.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#315016
RGBrgb(49, 80, 22)
HSLhsl(92, 57%, 20%)
HSVhsv(92, 73%, 31%)
CMYKcmyk(38.8%, 0%, 72.5%, 68.6%)
CIE-LABlab(30.52, -22.61, 29.46)
CIE-LCHlch(30.52, 37.14, 127.51°)
OKLaboklab(39.34% -0.0633 0.0674)
OKLCHoklch(39.34% 0.092 133.2)
XYZxyz(4.2800, 6.4480, 1.7780)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315016 #351650
analogous
#4E5016 #315016 #165018
triadic
#315016 #163150 #501631
tetradic
#315016 #164E50 #351650 #501816
square
#315016 #164E50 #351650 #501816
split-complementary
#315016 #181650 #50164E
monochromatic
#0F1807 #142009 #315016 #4E8023 #6CB030

Accessibility & contrast

On white

9.17
#315016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#315016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315016
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315016#FFFFFF#000000##FFFFFF
##3150161.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#314D44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #315016;
/* rgb */ color: rgb(49, 80, 22);
/* oklch */ color: oklch(39.3% 0.092 133.2);
Tailwind
colors: {
  custom: {
    50: '#6c8157',
    500: '#315016',
    950: '#000000',
  },
}
SCSS
$custom: #315016;
$custom-light: #6c8157;
$custom-dark: #000000;
JSON
{
  "hex": "#315016",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 92.069,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.39336,
    "c": 0.09247,
    "h": 133.2
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#315016
secondary
#643A87
accent
#48E099
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315016

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

Preview Lab → · Contrast checker → · Palette generator →

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