#314918#314918

#314918 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.4% C 0.080 H 131.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#314918
RGBrgb(49, 73, 24)
HSLhsl(89, 51%, 19%)
HSVhsv(89, 67%, 29%)
CMYKcmyk(32.9%, 0%, 67.1%, 71.4%)
CIE-LABlab(28.07, -18.78, 25.79)
CIE-LCHlch(28.07, 31.90, 126.07°)
OKLaboklab(37.35% -0.0526 0.0599)
OKLCHoklch(37.35% 0.08 131.3)
XYZxyz(3.8140, 5.4839, 1.7215)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314918 #301849
analogous
#494918 #314918 #194918
triadic
#314918 #183149 #491831
tetradic
#314918 #184949 #301849 #491819
square
#314918 #184949 #301849 #491819
split-complementary
#314918 #181949 #491849
monochromatic
#0F1708 #121B09 #314918 #507727 #6FA536

Accessibility & contrast

On white

10.02
#314918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#314918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314918
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314918#FFFFFF#000000##FFFFFF
##3149181.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#32463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #314918;
/* rgb */ color: rgb(49, 73, 24);
/* oklch */ color: oklch(37.4% 0.080 131.3);
Tailwind
colors: {
  custom: {
    50: '#6b7c57',
    500: '#314918',
    950: '#000000',
  },
}
SCSS
$custom: #314918;
$custom-light: #6b7c57;
$custom-dark: #000000;
JSON
{
  "hex": "#314918",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 89.388,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37352,
    "c": 0.07974,
    "h": 131.3
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#314918
secondary
#5E3D80
accent
#4EDA92
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314918

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

Preview Lab → · Contrast checker → · Palette generator →

#314918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva