#314C1A#314C1A

#314C1A is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.083 H 132.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#314C1A
RGBrgb(49, 76, 26)
HSLhsl(92, 49%, 20%)
HSVhsv(92, 66%, 30%)
CMYKcmyk(35.5%, 0%, 65.8%, 70.2%)
CIE-LABlab(29.15, -20.15, 25.95)
CIE-LCHlch(29.15, 32.85, 127.83°)
OKLaboklab(38.24% -0.0562 0.0605)
OKLCHoklch(38.24% 0.083 132.9)
XYZxyz(4.0375, 5.8963, 1.9025)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C1A #351A4C
analogous
#4A4C1A #314C1A #1A4C1C
triadic
#314C1A #1A314C #4C1A31
tetradic
#314C1A #1A4A4C #351A4C #4C1C1A
square
#314C1A #1A4A4C #351A4C #4C1C1A
split-complementary
#314C1A #1C1A4C #4C1A4A
monochromatic
#0F1708 #141E0A #314C1A #4E7A2A #6CA739

Accessibility & contrast

On white

9.64
#314C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#314C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314C1A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C1A#FFFFFF#000000##FFFFFF
##314C1A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4615
Deuteranopia (green-blind)
#4B441E
Tritanopia (blue-blind)
#314941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314c1a;
/* rgb */ color: rgb(49, 76, 26);
/* oklch */ color: oklch(38.2% 0.083 132.9);
Tailwind
colors: {
  custom: {
    50: '#6b7e59',
    500: '#314c1a',
    950: '#000000',
  },
}
SCSS
$custom: #314c1a;
$custom-light: #6b7e59;
$custom-dark: #000000;
JSON
{
  "hex": "#314c1a",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 26
  },
  "hsl": {
    "h": 92.4,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.08257,
    "h": 132.9
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#314C1A
secondary
#644082
accent
#4FD999
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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