#314718#314718

#314718 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.8% C 0.077 H 130.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#314718
RGBrgb(49, 71, 24)
HSLhsl(88, 49%, 19%)
HSVhsv(88, 66%, 28%)
CMYKcmyk(31%, 0%, 66.2%, 72.2%)
CIE-LABlab(27.37, -17.71, 25.00)
CIE-LCHlch(27.37, 30.63, 125.31°)
OKLaboklab(36.78% -0.0497 0.0582)
OKLCHoklch(36.78% 0.077 130.5)
XYZxyz(3.6847, 5.2253, 1.6784)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314718 #2E1847
analogous
#474518 #314718 #194718
triadic
#314718 #183147 #471831
tetradic
#314718 #184745 #2E1847 #471819
square
#314718 #184745 #2E1847 #471819
split-complementary
#314718 #181947 #451847
monochromatic
#101708 #111909 #314718 #517527 #70A237

Accessibility & contrast

On white

10.27
#314718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#314718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314718
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314718#FFFFFF#000000##FFFFFF
##3147181.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4213
Deuteranopia (green-blind)
#47401B
Tritanopia (blue-blind)
#32443D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #314718;
/* rgb */ color: rgb(49, 71, 24);
/* oklch */ color: oklch(36.8% 0.077 130.5);
Tailwind
colors: {
  custom: {
    50: '#6b7a57',
    500: '#314718',
    950: '#000000',
  },
}
SCSS
$custom: #314718;
$custom-light: #6b7a57;
$custom-dark: #000000;
JSON
{
  "hex": "#314718",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 88.085,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36781,
    "c": 0.07651,
    "h": 130.5
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#314718
secondary
#5B3D7E
accent
#4FD98F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314718

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

Preview Lab → · Contrast checker → · Palette generator →

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