#316211#316211

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

Color values

HEX#316211
RGBrgb(49, 98, 17)
HSLhsl(96, 70%, 23%)
HSVhsv(96, 83%, 38%)
CMYKcmyk(50%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.80, -31.46, 37.84)
CIE-LCHlch(36.80, 49.21, 129.74°)
OKLaboklab(44.47% -0.0876 0.0842)
OKLCHoklch(44.47% 0.122 136.2)
XYZxyz(5.7353, 9.4284, 2.0479)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316211 #421162
analogous
#5A6211 #316211 #116219
triadic
#316211 #113162 #621131
tetradic
#316211 #115A62 #421162 #621911
square
#316211 #115A62 #421162 #621911
split-complementary
#316211 #191162 #62115A
monochromatic
#0D1A05 #172E08 #316211 #4B961A #65CA23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316211#FFFFFF#000000##FFFFFF
##3162111.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)
#5F551A
Tritanopia (blue-blind)
#2F5E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #316211;
/* rgb */ color: rgb(49, 98, 17);
/* oklch */ color: oklch(44.5% 0.122 136.2);
Tailwind
colors: {
  custom: {
    50: '#6f8f56',
    500: '#316211',
    950: '#000000',
  },
}
SCSS
$custom: #316211;
$custom-light: #6f8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#316211",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 96.296,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44468,
    "c": 0.12151,
    "h": 136.2
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#316211
secondary
#72349A
accent
#3BEDA7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316211

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

Preview Lab → · Contrast checker → · Palette generator →

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