#314517#314517

#314517 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.074 H 129.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#314517
RGBrgb(49, 69, 23)
HSLhsl(86, 50%, 18%)
HSVhsv(86, 67%, 27%)
CMYKcmyk(29%, 0%, 66.7%, 72.9%)
CIE-LABlab(26.65, -16.72, 24.73)
CIE-LCHlch(26.65, 29.85, 124.07°)
OKLaboklab(36.2% -0.047 0.0575)
OKLCHoklch(36.2% 0.074 129.3)
XYZxyz(3.5494, 4.9710, 1.5829)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314517 #2B1745
analogous
#454217 #314517 #1A4517
triadic
#314517 #173145 #451731
tetradic
#314517 #174542 #2B1745 #45171A
square
#314517 #174542 #2B1745 #45171A
split-complementary
#314517 #171A45 #421745
monochromatic
#101708 #101708 #314517 #527326 #72A136

Accessibility & contrast

On white

10.53
#314517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#314517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314517
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314517#FFFFFF#000000##FFFFFF
##3145171.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484012
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#32423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #314517;
/* rgb */ color: rgb(49, 69, 23);
/* oklch */ color: oklch(36.2% 0.074 129.3);
Tailwind
colors: {
  custom: {
    50: '#6b7856',
    500: '#314517',
    950: '#000000',
  },
}
SCSS
$custom: #314517;
$custom-light: #6b7856;
$custom-dark: #000000;
JSON
{
  "hex": "#314517",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 86.087,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36197,
    "c": 0.0743,
    "h": 129.3
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#314517
secondary
#583C7C
accent
#4EDA8B
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #314517

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

Preview Lab → · Contrast checker → · Palette generator →

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