#314705#314705

#314705 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.091 H 127.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#314705
RGBrgb(49, 71, 5)
HSLhsl(80, 87%, 15%)
HSVhsv(80, 93%, 28%)
CMYKcmyk(31%, 0%, 93%, 72.2%)
CIE-LABlab(27.21, -19.18, 33.27)
CIE-LCHlch(27.21, 38.40, 119.96°)
OKLaboklab(36.61% -0.0555 0.0723)
OKLCHoklch(36.61% 0.091 127.5)
XYZxyz(3.5473, 5.1703, 0.9546)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314705 #1B0547
analogous
#473C05 #314705 #104705
triadic
#314705 #053147 #470531
tetradic
#314705 #05473C #1B0547 #470510
square
#314705 #05473C #1B0547 #470510
split-complementary
#314705 #051047 #3C0547
monochromatic
#141D02 #141D02 #314705 #588009 #80B90D

Accessibility & contrast

On white

10.32
#314705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#314705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314705
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314705#FFFFFF#000000##FFFFFF
##3147051.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#48400C
Tritanopia (blue-blind)
#33433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #314705;
/* rgb */ color: rgb(49, 71, 5);
/* oklch */ color: oklch(36.6% 0.091 127.5);
Tailwind
colors: {
  custom: {
    50: '#6c7a4c',
    500: '#314705',
    950: '#000000',
  },
}
SCSS
$custom: #314705;
$custom-light: #6c7a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#314705",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 80,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36608,
    "c": 0.09112,
    "h": 127.5
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#314705
secondary
#432187
accent
#2BFD71
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #314705

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

Preview Lab → · Contrast checker → · Palette generator →

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