#314117#314117

#314117 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.068 H 127.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#314117
RGBrgb(49, 65, 23)
HSLhsl(83, 48%, 17%)
HSVhsv(83, 65%, 25%)
CMYKcmyk(24.6%, 0%, 64.6%, 74.5%)
CIE-LABlab(25.25, -14.48, 23.13)
CIE-LCHlch(25.25, 27.29, 122.04°)
OKLaboklab(35.06% -0.0408 0.0541)
OKLCHoklch(35.06% 0.068 127)
XYZxyz(3.3116, 4.4954, 1.5037)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314117 #271741
analogous
#413C17 #314117 #1C4117
triadic
#314117 #173141 #411731
tetradic
#314117 #17413C #271741 #41171C
square
#314117 #17413C #271741 #41171C
split-complementary
#314117 #171C41 #3C1741
monochromatic
#111708 #111708 #314117 #536E27 #759B37

Accessibility & contrast

On white

11.06
#314117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#314117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314117
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314117#FFFFFF#000000##FFFFFF
##3141171.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D13
Deuteranopia (green-blind)
#423C1A
Tritanopia (blue-blind)
#333E38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #314117;
/* rgb */ color: rgb(49, 65, 23);
/* oklch */ color: oklch(35.1% 0.068 127.0);
Tailwind
colors: {
  custom: {
    50: '#6a7556',
    500: '#314117',
    950: '#000000',
  },
}
SCSS
$custom: #314117;
$custom-light: #6a7556;
$custom-dark: #000000;
JSON
{
  "hex": "#314117",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 82.857,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.06777,
    "h": 127
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#314117
secondary
#533C78
accent
#50D784
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #314117

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

Preview Lab → · Contrast checker → · Palette generator →

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