#316712#316712

#316712 is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 45.9% C 0.128 H 137.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#316712
RGBrgb(49, 103, 18)
HSLhsl(98, 70%, 24%)
HSVhsv(98, 83%, 40%)
CMYKcmyk(52.4%, 0%, 82.5%, 59.6%)
CIE-LABlab(38.55, -33.55, 39.15)
CIE-LCHlch(38.55, 51.56, 130.60°)
OKLaboklab(45.91% -0.0932 0.0871)
OKLCHoklch(45.91% 0.128 137)
XYZxyz(6.2259, 10.3967, 2.2508)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316712 #481267
analogous
#5B6712 #316712 #12671D
triadic
#316712 #123167 #671231
tetradic
#316712 #125B67 #481267 #671D12
square
#316712 #125B67 #481267 #671D12
split-complementary
#316712 #1D1267 #67125B
monochromatic
#0C1A05 #183309 #316712 #4A9B1B #63CF24

Accessibility & contrast

On white

6.82
#316712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#316712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316712
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316712#FFFFFF#000000##FFFFFF
##3167121.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#2E6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316712;
/* rgb */ color: rgb(49, 103, 18);
/* oklch */ color: oklch(45.9% 0.128 137.0);
Tailwind
colors: {
  custom: {
    50: '#6f9358',
    500: '#316712',
    950: '#000000',
  },
}
SCSS
$custom: #316712;
$custom-light: #6f9358;
$custom-dark: #000000;
JSON
{
  "hex": "#316712",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 98.118,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45908,
    "c": 0.12756,
    "h": 137
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#316712
secondary
#79369F
accent
#3BEDAC
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #316712

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

Preview Lab → · Contrast checker → · Palette generator →

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