#316611#316611

#316611 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.6% C 0.127 H 136.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#316611
RGBrgb(49, 102, 17)
HSLhsl(97, 71%, 23%)
HSVhsv(97, 83%, 40%)
CMYKcmyk(52%, 0%, 83.3%, 60%)
CIE-LABlab(38.19, -33.19, 39.16)
CIE-LCHlch(38.19, 51.33, 130.28°)
OKLaboklab(45.62% -0.0923 0.0869)
OKLCHoklch(45.62% 0.127 136.7)
XYZxyz(6.1190, 10.1958, 2.1757)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316611 #461166
analogous
#5B6611 #316611 #11661B
triadic
#316611 #113166 #661131
tetradic
#316611 #115B66 #461166 #661B11
square
#316611 #115B66 #461166 #661B11
split-complementary
#316611 #1B1166 #66115B
monochromatic
#0D1A04 #183208 #316611 #4A9A1A #63CF22

Accessibility & contrast

On white

6.91
#316611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#316611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316611
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316611#FFFFFF#000000##FFFFFF
##3166111.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#2E6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #316611;
/* rgb */ color: rgb(49, 102, 17);
/* oklch */ color: oklch(45.6% 0.127 136.7);
Tailwind
colors: {
  custom: {
    50: '#6f9257',
    500: '#316611',
    950: '#000000',
  },
}
SCSS
$custom: #316611;
$custom-light: #6f9257;
$custom-dark: #000000;
JSON
{
  "hex": "#316611",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 97.412,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.12679,
    "h": 136.7
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#316611
secondary
#76359E
accent
#3AEEAA
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #316611

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

Preview Lab → · Contrast checker → · Palette generator →

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