#316215#316215

#316215 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.5% C 0.119 H 136.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#316215
RGBrgb(49, 98, 21)
HSLhsl(98, 65%, 23%)
HSVhsv(98, 79%, 38%)
CMYKcmyk(50%, 0%, 78.6%, 61.6%)
CIE-LABlab(36.82, -31.18, 36.37)
CIE-LCHlch(36.82, 47.90, 130.60°)
OKLaboklab(44.5% -0.0866 0.0817)
OKLCHoklch(44.5% 0.119 136.7)
XYZxyz(5.7695, 9.4421, 2.2278)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316215 #461562
analogous
#576215 #316215 #15621F
triadic
#316215 #153162 #621531
tetradic
#316215 #155762 #461562 #621F15
square
#316215 #155762 #461562 #621F15
split-complementary
#316215 #1F1562 #621557
monochromatic
#0D1905 #18300A #316215 #4A9420 #63C72B

Accessibility & contrast

On white

7.27
#316215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#316215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316215
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316215#FFFFFF#000000##FFFFFF
##3162151.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665906
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#2E5E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #316215;
/* rgb */ color: rgb(49, 98, 21);
/* oklch */ color: oklch(44.5% 0.119 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e8f58',
    500: '#316215',
    950: '#000000',
  },
}
SCSS
$custom: #316215;
$custom-light: #6e8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#316215",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 98.182,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.11908,
    "h": 136.7
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#316215
secondary
#763A99
accent
#40E8AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #316215

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

Preview Lab → · Contrast checker → · Palette generator →

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