#314D18#314D18

#314D18 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.086 H 132.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#314D18
RGBrgb(49, 77, 24)
HSLhsl(92, 52%, 20%)
HSVhsv(92, 69%, 30%)
CMYKcmyk(36.4%, 0%, 68.8%, 69.8%)
CIE-LABlab(29.48, -20.89, 27.35)
CIE-LCHlch(29.48, 34.41, 127.37°)
OKLaboklab(38.5% -0.0584 0.0632)
OKLCHoklch(38.5% 0.086 132.7)
XYZxyz(4.0853, 6.0265, 1.8120)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314D18 #34184D
analogous
#4C4D18 #314D18 #184D1A
triadic
#314D18 #18314D #4D1831
tetradic
#314D18 #184C4D #34184D #4D1A18
square
#314D18 #184C4D #34184D #4D1A18
split-complementary
#314D18 #1A184D #4D184C
monochromatic
#0F1707 #131E09 #314D18 #4F7C27 #6CAA35

Accessibility & contrast

On white

9.52
#314D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#314D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314D18
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314D18#FFFFFF#000000##FFFFFF
##314D181.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504712
Deuteranopia (green-blind)
#4C451C
Tritanopia (blue-blind)
#314A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314d18;
/* rgb */ color: rgb(49, 77, 24);
/* oklch */ color: oklch(38.5% 0.086 132.7);
Tailwind
colors: {
  custom: {
    50: '#6b7f57',
    500: '#314d18',
    950: '#000000',
  },
}
SCSS
$custom: #314d18;
$custom-light: #6b7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#314d18",
  "rgb": {
    "r": 49,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 91.698,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.08607,
    "h": 132.7
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#314D18
secondary
#623D84
accent
#4CDC98
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #314D18

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

Preview Lab → · Contrast checker → · Palette generator →

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