#316511#316511

#316511 is a mid, vivid yellow-green. Relative luminance 0.100; OKLCH L 45.3% C 0.125 H 136.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#316511
RGBrgb(49, 101, 17)
HSLhsl(97, 71%, 23%)
HSVhsv(97, 83%, 40%)
CMYKcmyk(51.5%, 0%, 83.2%, 60.4%)
CIE-LABlab(37.84, -32.76, 38.83)
CIE-LCHlch(37.84, 50.81, 130.15°)
OKLaboklab(45.33% -0.0912 0.0862)
OKLCHoklch(45.33% 0.125 136.6)
XYZxyz(6.0213, 10.0004, 2.1432)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316511 #451165
analogous
#5B6511 #316511 #11651B
triadic
#316511 #113165 #651131
tetradic
#316511 #115B65 #451165 #651B11
square
#316511 #115B65 #451165 #651B11
split-complementary
#316511 #1B1165 #65115B
monochromatic
#0D1A04 #183108 #316511 #4A991A #64CE23

Accessibility & contrast

On white

7.00
#316511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#316511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316511
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316511#FFFFFF#000000##FFFFFF
##3165111.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#2E6155
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #316511;
/* rgb */ color: rgb(49, 101, 17);
/* oklch */ color: oklch(45.3% 0.125 136.6);
Tailwind
colors: {
  custom: {
    50: '#6f9157',
    500: '#316511',
    950: '#000000',
  },
}
SCSS
$custom: #316511;
$custom-light: #6f9157;
$custom-dark: #000000;
JSON
{
  "hex": "#316511",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 97.143,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.12548,
    "h": 136.6
  },
  "luminance": 0.10001
}

Semantic roles & 50–950 ramp

primary
#316511
secondary
#75359D
accent
#3AEEA9
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #316511

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

Preview Lab → · Contrast checker → · Palette generator →

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