#316A0F#316A0F

#316A0F is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.7% C 0.133 H 137.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#316A0F
RGBrgb(49, 106, 15)
HSLhsl(98, 75%, 24%)
HSVhsv(98, 86%, 42%)
CMYKcmyk(53.8%, 0%, 85.8%, 58.4%)
CIE-LABlab(39.57, -35.00, 41.08)
CIE-LCHlch(39.57, 53.97, 130.42°)
OKLaboklab(46.75% -0.0973 0.0906)
OKLCHoklch(46.75% 0.133 137)
XYZxyz(6.5067, 10.9950, 2.2312)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316A0F #480F6A
analogous
#5E6A0F #316A0F #0F6A1A
triadic
#316A0F #0F316A #6A0F31
tetradic
#316A0F #0F5E6A #480F6A #6A1A0F
square
#316A0F #0F5E6A #480F6A #6A1A0F
split-complementary
#316A0F #1A0F6A #6A0F5E
monochromatic
#0C1B04 #183407 #316A0F #4AA017 #63D51E

Accessibility & contrast

On white

6.56
#316A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#316A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316A0F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316A0F#FFFFFF#000000##FFFFFF
##316A0F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#2D665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #316a0f;
/* rgb */ color: rgb(49, 106, 15);
/* oklch */ color: oklch(46.7% 0.133 137.0);
Tailwind
colors: {
  custom: {
    50: '#709557',
    500: '#316a0f',
    950: '#000000',
  },
}
SCSS
$custom: #316a0f;
$custom-light: #709557;
$custom-dark: #000000;
JSON
{
  "hex": "#316a0f",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 97.582,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46748,
    "c": 0.13295,
    "h": 137
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#316A0F
secondary
#7932A2
accent
#36F2AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #316A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#316A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva