#314C12#314C12

#314C12 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.090 H 131.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#314C12
RGBrgb(49, 76, 18)
HSLhsl(88, 62%, 18%)
HSVhsv(88, 76%, 30%)
CMYKcmyk(35.5%, 0%, 76.3%, 70.2%)
CIE-LABlab(29.07, -20.93, 29.81)
CIE-LCHlch(29.07, 36.42, 125.07°)
OKLaboklab(38.15% -0.0591 0.0675)
OKLCHoklch(38.15% 0.09 131.2)
XYZxyz(3.9602, 5.8654, 1.4956)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C12 #2D124C
analogous
#4C4A12 #314C12 #144C12
triadic
#314C12 #12314C #4C1231
tetradic
#314C12 #124C4A #2D124C #4C1214
square
#314C12 #124C4A #2D124C #4C1214
split-complementary
#314C12 #12144C #4A124C
monochromatic
#101906 #111B06 #314C12 #517D1E #71AF29

Accessibility & contrast

On white

9.66
#314C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#314C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C12
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C12#FFFFFF#000000##FFFFFF
##314C121.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#324940
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314c12;
/* rgb */ color: rgb(49, 76, 18);
/* oklch */ color: oklch(38.1% 0.090 131.2);
Tailwind
colors: {
  custom: {
    50: '#6c7e54',
    500: '#314c12',
    950: '#000000',
  },
}
SCSS
$custom: #314c12;
$custom-light: #6c7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#314c12",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 87.931,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38146,
    "c": 0.08972,
    "h": 131.2
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#314C12
secondary
#5A3585
accent
#43E58E
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314C12

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

Preview Lab → · Contrast checker → · Palette generator →

#314C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva