#314710#314710

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

Color values

HEX#314710
RGBrgb(49, 71, 16)
HSLhsl(84, 63%, 17%)
HSVhsv(84, 77%, 28%)
CMYKcmyk(31%, 0%, 77.5%, 72.2%)
CIE-LABlab(27.29, -18.46, 28.89)
CIE-LCHlch(27.29, 34.29, 122.58°)
OKLaboklab(36.69% -0.0525 0.0652)
OKLCHoklch(36.69% 0.084 128.8)
XYZxyz(3.6134, 5.1968, 1.3028)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314710 #261047
analogous
#474210 #314710 #164710
triadic
#314710 #103147 #471031
tetradic
#314710 #104742 #261047 #471016
square
#314710 #104742 #261047 #471016
split-complementary
#314710 #101647 #421047
monochromatic
#111906 #111906 #314710 #53791B #76AB27

Accessibility & contrast

On white

10.30
#314710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314710
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314710#FFFFFF#000000##FFFFFF
##3147101.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4108
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#33443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #314710;
/* rgb */ color: rgb(49, 71, 16);
/* oklch */ color: oklch(36.7% 0.084 128.8);
Tailwind
colors: {
  custom: {
    50: '#6b7a52',
    500: '#314710',
    950: '#000000',
  },
}
SCSS
$custom: #314710;
$custom-light: #6b7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#314710",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 84,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36691,
    "c": 0.08377,
    "h": 128.8
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#314710
secondary
#513281
accent
#42E683
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #314710

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

Preview Lab → · Contrast checker → · Palette generator →

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