#316412#316412

#316412 is a mid, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.124 H 136.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#316412
RGBrgb(49, 100, 18)
HSLhsl(97, 69%, 23%)
HSVhsv(97, 82%, 39%)
CMYKcmyk(51%, 0%, 82%, 60.8%)
CIE-LABlab(37.50, -32.26, 38.16)
CIE-LCHlch(37.50, 49.97, 130.22°)
OKLaboklab(45.05% -0.0898 0.085)
OKLCHoklch(45.05% 0.124 136.6)
XYZxyz(5.9328, 9.8106, 2.1532)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316412 #451264
analogous
#5A6412 #316412 #12641C
triadic
#316412 #123164 #641231
tetradic
#316412 #125A64 #451264 #641C12
square
#316412 #125A64 #451264 #641C12
split-complementary
#316412 #1C1264 #64125A
monochromatic
#0D1A05 #183009 #316412 #4A981B #64CC25

Accessibility & contrast

On white

7.09
#316412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#316412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #316412
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316412#FFFFFF#000000##FFFFFF
##3164121.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#2E6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #316412;
/* rgb */ color: rgb(49, 100, 18);
/* oklch */ color: oklch(45.0% 0.124 136.6);
Tailwind
colors: {
  custom: {
    50: '#6f9057',
    500: '#316412',
    950: '#000000',
  },
}
SCSS
$custom: #316412;
$custom-light: #6f9057;
$custom-dark: #000000;
JSON
{
  "hex": "#316412",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 97.317,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.1236,
    "h": 136.6
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

primary
#316412
secondary
#75369C
accent
#3BECA9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #316412

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

Preview Lab → · Contrast checker → · Palette generator →

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