#314C1B#314C1B

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

Color values

HEX#314C1B
RGBrgb(49, 76, 27)
HSLhsl(93, 48%, 20%)
HSVhsv(93, 64%, 30%)
CMYKcmyk(35.5%, 0%, 64.5%, 70.2%)
CIE-LABlab(29.16, -20.04, 25.43)
CIE-LCHlch(29.16, 32.37, 128.24°)
OKLaboklab(38.25% -0.0558 0.0595)
OKLCHoklch(38.25% 0.082 133.2)
XYZxyz(4.0488, 5.9008, 1.9623)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C1B #361B4C
analogous
#494C1B #314C1B #1B4C1D
triadic
#314C1B #1B314C #4C1B31
tetradic
#314C1B #1B494C #361B4C #4C1D1B
square
#314C1B #1B494C #361B4C #4C1D1B
split-complementary
#314C1B #1D1B4C #4C1B49
monochromatic
#0F1708 #141F0B #314C1B #4E792B #6BA63B

Accessibility & contrast

On white

9.63
#314C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314C1B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C1B#FFFFFF#000000##FFFFFF
##314C1B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #314c1b;
/* rgb */ color: rgb(49, 76, 27);
/* oklch */ color: oklch(38.2% 0.082 133.2);
Tailwind
colors: {
  custom: {
    50: '#6b7e59',
    500: '#314c1b',
    950: '#000000',
  },
}
SCSS
$custom: #314c1b;
$custom-light: #6b7e59;
$custom-dark: #000000;
JSON
{
  "hex": "#314c1b",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 27
  },
  "hsl": {
    "h": 93.061,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.08156,
    "h": 133.2
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#314C1B
secondary
#654182
accent
#51D79B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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