#314714#314714

#314714 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.7% C 0.080 H 129.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#314714
RGBrgb(49, 71, 20)
HSLhsl(86, 56%, 18%)
HSVhsv(86, 72%, 28%)
CMYKcmyk(31%, 0%, 71.8%, 72.2%)
CIE-LABlab(27.32, -18.11, 27.02)
CIE-LCHlch(27.32, 32.53, 123.84°)
OKLaboklab(36.73% -0.0512 0.062)
OKLCHoklch(36.73% 0.08 129.6)
XYZxyz(3.6461, 5.2099, 1.4752)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314714 #2A1447
analogous
#474314 #314714 #184714
triadic
#314714 #143147 #471431
tetradic
#314714 #144743 #2A1447 #471418
square
#314714 #144743 #2A1447 #471418
split-complementary
#314714 #141847 #431447
monochromatic
#101807 #101807 #314714 #527721 #73A62F

Accessibility & contrast

On white

10.28
#314714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#314714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314714
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314714#FFFFFF#000000##FFFFFF
##3147141.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420E
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#32443C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #314714;
/* rgb */ color: rgb(49, 71, 20);
/* oklch */ color: oklch(36.7% 0.080 129.6);
Tailwind
colors: {
  custom: {
    50: '#6b7a54',
    500: '#314714',
    950: '#000000',
  },
}
SCSS
$custom: #314714;
$custom-light: #6b7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#314714",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 20
  },
  "hsl": {
    "h": 85.882,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.08036,
    "h": 129.6
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#314714
secondary
#56387F
accent
#48DF8A
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314714

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

Preview Lab → · Contrast checker → · Palette generator →

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