#314C0D#314C0D

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

Color values

HEX#314C0D
RGBrgb(49, 76, 13)
HSLhsl(86, 71%, 17%)
HSVhsv(86, 83%, 30%)
CMYKcmyk(35.5%, 0%, 82.9%, 70.2%)
CIE-LABlab(29.03, -21.30, 31.89)
CIE-LCHlch(29.03, 38.35, 123.74°)
OKLaboklab(38.1% -0.0605 0.071)
OKLCHoklch(38.1% 0.093 130.5)
XYZxyz(3.9237, 5.8508, 1.3033)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C0D #280D4C
analogous
#4C470D #314C0D #124C0D
triadic
#314C0D #0D314C #4C0D31
tetradic
#314C0D #0D4C47 #280D4C #4C0D12
square
#314C0D #0D4C47 #280D4C #4C0D12
split-complementary
#314C0D #0D124C #470D4C
monochromatic
#111A04 #111A04 #314C0D #538016 #74B51F

Accessibility & contrast

On white

9.68
#314C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314C0D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C0D#FFFFFF#000000##FFFFFF
##314C0D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4C4413
Tritanopia (blue-blind)
#324840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #314c0d;
/* rgb */ color: rgb(49, 76, 13);
/* oklch */ color: oklch(38.1% 0.093 130.5);
Tailwind
colors: {
  custom: {
    50: '#6c7e51',
    500: '#314c0d',
    950: '#000000',
  },
}
SCSS
$custom: #314c0d;
$custom-light: #6c7e51;
$custom-dark: #000000;
JSON
{
  "hex": "#314c0d",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 85.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38104,
    "c": 0.09332,
    "h": 130.5
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#314C0D
secondary
#542E87
accent
#3AEE87
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #314C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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