#316015#316015

#316015 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 43.9% C 0.116 H 136.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#316015
RGBrgb(49, 96, 21)
HSLhsl(98, 64%, 23%)
HSVhsv(98, 78%, 38%)
CMYKcmyk(49%, 0%, 78.1%, 62.4%)
CIE-LABlab(36.12, -30.29, 35.68)
CIE-LCHlch(36.12, 46.80, 130.33°)
OKLaboklab(43.92% -0.0842 0.0803)
OKLCHoklch(43.92% 0.116 136.4)
XYZxyz(5.5847, 9.0725, 2.1662)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316015 #441560
analogous
#566015 #316015 #15601E
triadic
#316015 #153160 #601531
tetradic
#316015 #155660 #441560 #601E15
square
#316015 #155660 #441560 #601E15
split-complementary
#316015 #1E1560 #601556
monochromatic
#0D1905 #172E0A #316015 #4B9220 #64C42B

Accessibility & contrast

On white

7.46
#316015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#316015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316015
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316015#FFFFFF#000000##FFFFFF
##3160151.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645707
Deuteranopia (green-blind)
#5D541C
Tritanopia (blue-blind)
#2F5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #316015;
/* rgb */ color: rgb(49, 96, 21);
/* oklch */ color: oklch(43.9% 0.116 136.4);
Tailwind
colors: {
  custom: {
    50: '#6e8d58',
    500: '#316015',
    950: '#000000',
  },
}
SCSS
$custom: #316015;
$custom-light: #6e8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#316015",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 97.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43923,
    "c": 0.11634,
    "h": 136.4
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#316015
secondary
#743A97
accent
#41E7A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316015

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

Preview Lab → · Contrast checker → · Palette generator →

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