#314813#314813

#314813 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 37.0% C 0.083 H 129.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#314813
RGBrgb(49, 72, 19)
HSLhsl(86, 58%, 18%)
HSVhsv(86, 74%, 28%)
CMYKcmyk(31.9%, 0%, 73.6%, 71.8%)
CIE-LABlab(27.67, -18.74, 27.88)
CIE-LCHlch(27.67, 33.59, 123.92°)
OKLaboklab(37.01% -0.053 0.0636)
OKLCHoklch(37.01% 0.083 129.8)
XYZxyz(3.7015, 5.3346, 1.4506)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314813 #2A1348
analogous
#484413 #314813 #164813
triadic
#314813 #133148 #481331
tetradic
#314813 #134844 #2A1348 #481316
square
#314813 #134844 #2A1348 #481316
split-complementary
#314813 #131648 #441348
monochromatic
#101806 #101806 #314813 #527820 #73A92D

Accessibility & contrast

On white

10.16
#314813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#314813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314813
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314813#FFFFFF#000000##FFFFFF
##3148131.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420C
Deuteranopia (green-blind)
#484117
Tritanopia (blue-blind)
#32453D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #314813;
/* rgb */ color: rgb(49, 72, 19);
/* oklch */ color: oklch(37.0% 0.083 129.8);
Tailwind
colors: {
  custom: {
    50: '#6b7b54',
    500: '#314813',
    950: '#000000',
  },
}
SCSS
$custom: #314813;
$custom-light: #6b7b54;
$custom-dark: #000000;
JSON
{
  "hex": "#314813",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 86.038,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37008,
    "c": 0.0828,
    "h": 129.8
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#314813
secondary
#563681
accent
#46E18A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314813

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

Preview Lab → · Contrast checker → · Palette generator →

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