#316F0E#316F0E

#316F0E is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.2% C 0.140 H 137.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#316F0E
RGBrgb(49, 111, 14)
HSLhsl(98, 78%, 25%)
HSVhsv(98, 87%, 44%)
CMYKcmyk(55.9%, 0%, 87.4%, 56.5%)
CIE-LABlab(41.30, -37.10, 42.94)
CIE-LCHlch(41.30, 56.75, 130.83°)
OKLaboklab(48.17% -0.103 0.0944)
OKLCHoklch(48.17% 0.14 137.5)
XYZxyz(7.0301, 12.0530, 2.3714)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F0E #4C0E6F
analogous
#616F0E #316F0E #0E6F1C
triadic
#316F0E #0E316F #6F0E31
tetradic
#316F0E #0E616F #4C0E6F #6F1C0E
square
#316F0E #0E616F #4C0E6F #6F1C0E
split-complementary
#316F0E #1C0E6F #6F0E61
monochromatic
#0C1B03 #193907 #316F0E #49A515 #61DC1C

Accessibility & contrast

On white

6.16
#316F0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#316F0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F0E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F0E#FFFFFF#000000##FFFFFF
##316F0E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601B
Tritanopia (blue-blind)
#2C6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316f0e;
/* rgb */ color: rgb(49, 111, 14);
/* oklch */ color: oklch(48.2% 0.140 137.5);
Tailwind
colors: {
  custom: {
    50: '#719957',
    500: '#316f0e',
    950: '#000000',
  },
}
SCSS
$custom: #316f0e;
$custom-light: #719957;
$custom-dark: #000000;
JSON
{
  "hex": "#316f0e",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 14
  },
  "hsl": {
    "h": 98.351,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.13967,
    "h": 137.5
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#316F0E
secondary
#7D32A7
accent
#34F4AF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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