#314217#314217

#314217 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.069 H 127.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#314217
RGBrgb(49, 66, 23)
HSLhsl(84, 48%, 17%)
HSVhsv(84, 65%, 26%)
CMYKcmyk(25.8%, 0%, 65.2%, 74.1%)
CIE-LABlab(25.60, -15.04, 23.53)
CIE-LCHlch(25.60, 27.93, 122.59°)
OKLaboklab(35.34% -0.0424 0.055)
OKLCHoklch(35.34% 0.069 127.7)
XYZxyz(3.3695, 4.6112, 1.5230)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314217 #281742
analogous
#423E17 #314217 #1B4217
triadic
#314217 #173142 #421731
tetradic
#314217 #17423E #281742 #42171B
square
#314217 #17423E #281742 #42171B
split-complementary
#314217 #171B42 #3E1742
monochromatic
#111708 #111708 #314217 #536F27 #749D37

Accessibility & contrast

On white

10.92
#314217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#314217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314217
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314217#FFFFFF#000000##FFFFFF
##3142171.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D12
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#333F39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #314217;
/* rgb */ color: rgb(49, 66, 23);
/* oklch */ color: oklch(35.3% 0.069 127.7);
Tailwind
colors: {
  custom: {
    50: '#6a7656',
    500: '#314217',
    950: '#000000',
  },
}
SCSS
$custom: #314217;
$custom-light: #6a7656;
$custom-dark: #000000;
JSON
{
  "hex": "#314217",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 83.721,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35343,
    "c": 0.06941,
    "h": 127.7
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#314217
secondary
#543C79
accent
#50D886
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #314217

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

Preview Lab → · Contrast checker → · Palette generator →

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