#314017#314017

#314017 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.066 H 126.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#314017
RGBrgb(49, 64, 23)
HSLhsl(82, 47%, 17%)
HSVhsv(82, 64%, 25%)
CMYKcmyk(23.4%, 0%, 64.1%, 74.9%)
CIE-LABlab(24.89, -13.91, 22.73)
CIE-LCHlch(24.89, 26.64, 121.46°)
OKLaboklab(34.78% -0.0392 0.0532)
OKLCHoklch(34.78% 0.066 126.4)
XYZxyz(3.2547, 4.3816, 1.4847)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314017 #261740
analogous
#403B17 #314017 #1D4017
triadic
#314017 #173140 #401731
tetradic
#314017 #17403B #261740 #40171D
square
#314017 #17403B #261740 #40171D
split-complementary
#314017 #171D40 #3B1740
monochromatic
#111708 #111708 #314017 #536D27 #769A37

Accessibility & contrast

On white

11.19
#314017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#314017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314017
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314017#FFFFFF#000000##FFFFFF
##3140171.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C13
Deuteranopia (green-blind)
#413B1A
Tritanopia (blue-blind)
#333D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #314017;
/* rgb */ color: rgb(49, 64, 23);
/* oklch */ color: oklch(34.8% 0.066 126.4);
Tailwind
colors: {
  custom: {
    50: '#6a7455',
    500: '#314017',
    950: '#000000',
  },
}
SCSS
$custom: #314017;
$custom-light: #6a7455;
$custom-dark: #000000;
JSON
{
  "hex": "#314017",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 81.951,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34776,
    "c": 0.06612,
    "h": 126.4
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#314017
secondary
#513C77
accent
#51D782
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #314017

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

Preview Lab → · Contrast checker → · Palette generator →

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