#315316#315316

#315316 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.097 H 134.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#315316
RGBrgb(49, 83, 22)
HSLhsl(93, 58%, 21%)
HSVhsv(93, 73%, 33%)
CMYKcmyk(41%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.57, -24.11, 30.58)
CIE-LCHlch(31.57, 38.94, 128.25°)
OKLaboklab(40.2% -0.0674 0.0698)
OKLCHoklch(40.2% 0.097 134)
XYZxyz(4.5046, 6.8972, 1.8528)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315316 #381653
analogous
#4F5316 #315316 #16531A
triadic
#315316 #163153 #531631
tetradic
#315316 #164F53 #381653 #531A16
square
#315316 #164F53 #381653 #531A16
split-complementary
#315316 #1A1653 #53164F
monochromatic
#0E1806 #142309 #315316 #4E8323 #6AB430

Accessibility & contrast

On white

8.83
#315316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#315316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315316
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315316#FFFFFF#000000##FFFFFF
##3153161.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#315047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #315316;
/* rgb */ color: rgb(49, 83, 22);
/* oklch */ color: oklch(40.2% 0.097 134.0);
Tailwind
colors: {
  custom: {
    50: '#6c8357',
    500: '#315316',
    950: '#000000',
  },
}
SCSS
$custom: #315316;
$custom-light: #6c8357;
$custom-dark: #000000;
JSON
{
  "hex": "#315316",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 93.443,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.09698,
    "h": 134
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#315316
secondary
#673A8A
accent
#46E19D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #315316

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

Preview Lab → · Contrast checker → · Palette generator →

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