#316210#316210

#316210 is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.5% C 0.122 H 136.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#316210
RGBrgb(49, 98, 16)
HSLhsl(96, 72%, 22%)
HSVhsv(96, 84%, 38%)
CMYKcmyk(50%, 0%, 83.7%, 61.6%)
CIE-LABlab(36.79, -31.52, 38.18)
CIE-LCHlch(36.79, 49.51, 129.54°)
OKLaboklab(44.46% -0.0879 0.0847)
OKLCHoklch(44.46% 0.122 136.1)
XYZxyz(5.7277, 9.4254, 2.0076)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316210 #411062
analogous
#5A6210 #316210 #106218
triadic
#316210 #103162 #621031
tetradic
#316210 #105A62 #411062 #621810
square
#316210 #105A62 #411062 #621810
split-complementary
#316210 #181062 #62105A
monochromatic
#0D1A04 #172D07 #316210 #4B9719 #66CB21

Accessibility & contrast

On white

7.28
#316210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #316210
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316210#FFFFFF#000000##FFFFFF
##3162101.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#2F5E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #316210;
/* rgb */ color: rgb(49, 98, 16);
/* oklch */ color: oklch(44.5% 0.122 136.1);
Tailwind
colors: {
  custom: {
    50: '#6f8f56',
    500: '#316210',
    950: '#000000',
  },
}
SCSS
$custom: #316210;
$custom-light: #6f8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#316210",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 95.854,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.12205,
    "h": 136.1
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#316210
secondary
#71339B
accent
#39EFA6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316210

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

Preview Lab → · Contrast checker → · Palette generator →

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