#314C15#314C15

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

Color values

HEX#314C15
RGBrgb(49, 76, 21)
HSLhsl(89, 57%, 19%)
HSVhsv(89, 72%, 30%)
CMYKcmyk(35.5%, 0%, 72.4%, 70.2%)
CIE-LABlab(29.10, -20.66, 28.43)
CIE-LCHlch(29.10, 35.14, 126.01°)
OKLaboklab(38.18% -0.0581 0.0651)
OKLCHoklch(38.18% 0.087 131.8)
XYZxyz(3.9864, 5.8759, 1.6334)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314C15 #30154C
analogous
#4C4C15 #314C15 #164C15
triadic
#314C15 #15314C #4C1531
tetradic
#314C15 #154C4C #30154C #4C1516
square
#314C15 #154C4C #30154C #4C1516
split-complementary
#314C15 #15164C #4C154C
monochromatic
#0F1807 #121C08 #314C15 #507C22 #6FAC2F

Accessibility & contrast

On white

9.65
#314C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314C15
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314C15#FFFFFF#000000##FFFFFF
##314C151.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#324941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314c15;
/* rgb */ color: rgb(49, 76, 21);
/* oklch */ color: oklch(38.2% 0.087 131.8);
Tailwind
colors: {
  custom: {
    50: '#6b7e55',
    500: '#314c15',
    950: '#000000',
  },
}
SCSS
$custom: #314c15;
$custom-light: #6b7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#314c15",
  "rgb": {
    "r": 49,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 89.455,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.08722,
    "h": 131.8
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#314C15
secondary
#5E3984
accent
#48E093
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314C15

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

Preview Lab → · Contrast checker → · Palette generator →

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